Skip to content

Commit efa66ec

Browse files
committed
Updated variableName
1 parent b790013 commit efa66ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/confidential/confidential.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,13 @@ func New(authority, clientID string, cred Credential, options ...Option) (Client
317317
if err != nil {
318318
return Client{}, err
319319
}
320-
region := os.Getenv("MSAL_FORCE_REGION")
320+
autoEnabledRegion := os.Getenv("MSAL_FORCE_REGION")
321321
opts := clientOptions{
322322
authority: authority,
323323
// if the caller specified a token provider, it will handle all details of authentication, using Client only as a token cache
324324
disableInstanceDiscovery: cred.tokenProvider != nil,
325325
httpClient: shared.DefaultClient,
326-
azureRegion: region,
326+
azureRegion: autoEnabledRegion,
327327
}
328328
for _, o := range options {
329329
o(&opts)

0 commit comments

Comments
 (0)