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(upgrade): fallback to user's home when saving upgraded config #19773

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

alespour
Copy link
Contributor

@alespour alespour commented Oct 19, 2020

Closes #19771

Also removes pointless code that backups already existing 2.x config file: when user would want to perform upgrade again, it is expected that such config is useless. anyway.

  • Rebased/mergeable
  • Tests pass
  • Signed CLA (if not already signed)

@alespour alespour force-pushed the fix/upgrade-config branch 2 times, most recently from df5c789 to f9edd77 Compare October 19, 2020 17:53
@alespour alespour marked this pull request as ready for review October 19, 2020 18:24
Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM – thanks for the improvements!

@stuartcarnie stuartcarnie merged commit 2b828c5 into influxdata:master Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.x upgrade: make config upgrade more robust
2 participants