-
Notifications
You must be signed in to change notification settings - Fork 3
Bug Fix for FFX mcr url #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
55c2945
138a0a5
da75dc5
28ce51a
f1159ec
4c6096e
67771c2
4fb62dd
b5db13e
7109363
23d93d6
5fbdd63
dd3c1f6
f79ffd9
b62c8dc
4013540
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -361,11 +361,11 @@ def create_folder_diagnosticlogs(folder_name: str, base_folder_name: str) -> tup | |
| ) | ||
| return "", False | ||
|
|
||
| def get_mcr_path(cmd: CLICommand) -> str: | ||
| active_directory_array = cmd.cli_ctx.cloud.endpoints.active_directory.split(".") | ||
| def get_mcr_path(active_directory_endpoint: str) -> str: | ||
| active_directory_array = active_directory_endpoint.split(".") | ||
|
|
||
| # default for public, mc, ff clouds | ||
| mcr_postfix = active_directory_array[2] | ||
| mcr_postfix = ".com" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it applicable for mooncake as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes it is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. verified too,thanks |
||
| # special cases for USSec, exclude part of suffix | ||
| if len(active_directory_array) == 4 and active_directory_array[2] == "microsoft": | ||
| mcr_postfix = active_directory_array[3] | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a combination for mooncake endpoint - https://login.partner.microsoftonline.cn as well.
it will cover an extra case where the length is 4 but not microsoft at the second index