Skip to content

Fix repo configfile#2505

Merged
fd0 merged 1 commit intorestic:masterfrom
aawsome:fix-repo-configfile
Dec 7, 2020
Merged

Fix repo configfile#2505
fd0 merged 1 commit intorestic:masterfrom
aawsome:fix-repo-configfile

Conversation

@aawsome
Copy link
Copy Markdown
Contributor

@aawsome aawsome commented Dec 8, 2019

What is the purpose of this change? What does it change?

access to config file from repository was inconsistent and therefore unsafe for new possible backends. This is fixed in this PR.
See #2498.

Was the change discussed in an issue or in the forum before?

closes #2498

Checklist

  • I have read the Contribution Guidelines
  • I have added tests for all changes in this PR
  • I have not added documentation for the changes, as I see no need to document it for users.
  • There's no new file in changelog/unreleased/ that describes the changes for our users (template here) - dont't think this is necessary for this minor change.
  • I have run gofmt on the code in all commits
  • All commit messages are formatted in the same style as the other commits in the repo
  • I'm done, this Pull Request is ready for review

Fix saving/loading config file: Always set ID to a zero ID.
@aawsome aawsome force-pushed the fix-repo-configfile branch from 548c555 to d3c59d1 Compare June 13, 2020 14:31
Copy link
Copy Markdown
Member

@fd0 fd0 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!

@fd0 fd0 merged commit 7facc8c into restic:master Dec 7, 2020
@aawsome aawsome deleted the fix-repo-configfile branch December 7, 2020 06:54
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.

repository implementation: writing/reading config file from backend is inconsistent

3 participants