Skip to content

Commit

Permalink
CodeGen from PR 12913 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge fedde42351b119e141dedcfdd65dd5c234137e33 into 17d5cbccb47a8f4064fa70c51957e012ddd0ba50
  • Loading branch information
SDKAuto committed Feb 9, 2021
1 parent 0708336 commit b88684e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -49,10 +49,10 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli
this.credentials = credentials;
this.subscriptionId = subscriptionId;

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 b88684e

Please sign in to comment.