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

Fix bug where legacy creds are reset after call to configure subcommand. #260

Merged
merged 1 commit into from Apr 20, 2021

Conversation

Integralist
Copy link
Collaborator

@Integralist Integralist commented Apr 20, 2021

Problem: when the CLI retrieves the dynamic configuration it will check if credentials stored in a legacy location of the configuration are empty. If they're not empty it will move the credentials to the correct location in the configuration object, but it doesn't first check if the credentials have already been moved, which can result in credentials updated via fastly configure to be overwritten the next time the remote config is fetched.

@Integralist Integralist added the bug Something isn't working label Apr 20, 2021
@Integralist Integralist requested review from phamann, a team and kailan and removed request for a team April 20, 2021 10:38
@Integralist Integralist merged commit 3652f69 into master Apr 20, 2021
@Integralist Integralist deleted the integralist/20210420_token_bug branch April 20, 2021 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants