We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96140b0 commit 5fdae2dCopy full SHA for 5fdae2d
msal/region.py
@@ -5,14 +5,9 @@
5
6
7
def _detect_region(http_client=None):
8
- region = _detect_region_of_azure_function() # It is cheap, so we do it always
9
- if http_client and not region:
+ if http_client:
10
return _detect_region_of_azure_vm(http_client) # It could hang for minutes
11
- return region
12
-
13
14
-def _detect_region_of_azure_function():
15
- return os.environ.get("REGION_NAME")
+ return None
16
17
18
def _detect_region_of_azure_vm(http_client):
0 commit comments