Skip to content

Commit

Permalink
CodeGen from PR 14008 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge c2caf1088fcbac90addc67fb5cd67188e1cb575d into 9622c4ff423c2b9ecd42126fe30c575201cbe62e
  • Loading branch information
SDKAuto committed Apr 19, 2021
1 parent 343f07e commit bff1bcb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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 @@ -51,10 +51,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 bff1bcb

Please sign in to comment.