Skip to content
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

az configure --list-defaults does not respect --scope local #15014

Open
maxheld83 opened this issue Sep 1, 2020 · 1 comment
Open

az configure --list-defaults does not respect --scope local #15014

maxheld83 opened this issue Sep 1, 2020 · 1 comment
Assignees
Labels
Configure az configure/config customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request
Milestone

Comments

@maxheld83
Copy link

Describe the bug

Command Name
az configure

Errors:

az configure --list-defaults true --scope local will still show defaults from ~/.azure/config, as opposed to just from the working directory.

To Reproduce:

mkdir zap
cd zap
az configure --scope global --defaults group=bar # writes to HOME
ls                                               # no .azure folder, as expected
az configure --scope local --list-defaults true  # still shows bar

Expected Behavior

see above.

Environment Summary

macOS-10.15.6-x86_64-i386-64bit
Python 3.8.5
Installer: HOMEBREW
azure-cli 2.11.1

Additional Context

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 1, 2020
@yonzhan yonzhan added Configure az configure/config and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 1, 2020
@yonzhan yonzhan added this to the S176 milestone Sep 1, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Sep 1, 2020

add to S176

@azure-sdk azure-sdk added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 24, 2020
@yonzhan yonzhan modified the milestones: S176, S177 Oct 1, 2020
@yonzhan yonzhan modified the milestones: S177, S178 Oct 24, 2020
@yonzhan yonzhan modified the milestones: S178, S179 Nov 14, 2020
@yonzhan yonzhan modified the milestones: S179, S180 Nov 28, 2020
@yonzhan yonzhan modified the milestones: S180, S181, S182 Dec 25, 2020
@yonzhan yonzhan modified the milestones: S182, S183 Feb 6, 2021
@yonzhan yonzhan modified the milestones: S183 - For Ignite, S184 Feb 26, 2021
@yonzhan yonzhan modified the milestones: S184, S185 Mar 14, 2021
@yonzhan yonzhan modified the milestones: S185, S186 Apr 6, 2021
@yonzhan yonzhan modified the milestones: S186, S187 Apr 24, 2021
@yonzhan yonzhan modified the milestones: S187, S188 May 19, 2021
@yonzhan yonzhan modified the milestones: S188, S189 Jun 12, 2021
@yonzhan yonzhan modified the milestones: S189, Jul 2021 (2021-08-03) Jul 2, 2021
@jsntcy jsntcy closed this as completed Jul 26, 2021
@jsntcy jsntcy reopened this Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Configure az configure/config customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request
Projects
None yet
Development

No branches or pull requests

6 participants