Skip to content

Commit

Permalink
Update vm image for track1 pipeline job
Browse files Browse the repository at this point in the history
Update @azure/graph version to match version on npm
  • Loading branch information
praveenkuttappan committed Aug 5, 2021
1 parent 5045475 commit b5bfc2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions eng/pipelines/dataplane-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
customCommand: run build -- --head-reference=origin/$(System.PullRequest.SourceBranch) --base-reference=origin/$(System.PullRequest.TargetBranch) --logging-level=trace
- job: Check_everything
displayName: Check .only, .skip and version bump
pool:
vmImage: Ubuntu 20.04
steps:
- task: NodeTool@0
inputs:
Expand Down
2 changes: 1 addition & 1 deletion sdk/graphrbac/graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/graph",
"author": "Microsoft Corporation",
"description": "GraphRbacManagementClient Library with typescript type definitions for node.js and browser.",
"version": "5.0.2",
"version": "5.0.3",
"dependencies": {
"@azure/ms-rest-azure-js": "^2.0.0",
"@azure/ms-rest-js": "^2.0.3",
Expand Down
8 changes: 4 additions & 4 deletions sdk/graphrbac/graph/src/graphRbacManagementClientContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";

const packageName = "@azure/graph";
const packageVersion = "5.0.2";
const packageVersion = "5.0.3";

export class GraphRbacManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand All @@ -37,7 +37,7 @@ export class GraphRbacManagementClientContext extends msRestAzure.AzureServiceCl
if (!options) {
options = {};
}
if(!options.userAgent) {
if (!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -59,10 +59,10 @@ export class GraphRbacManagementClientContext extends msRestAzure.AzureServiceCl
this.credentials = credentials;
this.tenantID = tenantID;

if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down

0 comments on commit b5bfc2c

Please sign in to comment.