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 ce20b5c1776f3ede0ae72c68c8893c4d464e7dd5 into 4760eb1e3daea28433c347ec3c8a4750d5b40fd7
  • Loading branch information
SDKAuto committed Feb 9, 2021
1 parent fcba9e0 commit 152f54b
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 152f54b

Please sign in to comment.