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

Add location purge key #432

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add location purge key #432

wants to merge 1 commit into from

Conversation

koct9i
Copy link
Collaborator

@koct9i koct9i commented Jan 21, 2025

Changing purge key to different non-empty value
removes all data in location on next start.

Changing purge key to different non-empty value
removes all data in location on next start.
@koct9i koct9i requested a review from l0kix2 January 21, 2025 15:24
}
return command

return cmd.String()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible/hard to write some test that if there are some data in location and purge key is empty — the data is not removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Golden spec generation should be enough. I'll add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants