Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Option to also clear instance storage when using admin/instance/remove #1303

Open
maackle opened this issue Apr 19, 2019 · 0 comments · May be fixed by #1775
Open

Option to also clear instance storage when using admin/instance/remove #1303

maackle opened this issue Apr 19, 2019 · 0 comments · May be fixed by #1775
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@maackle
Copy link
Member

maackle commented Apr 19, 2019

admin/instance/remove could take an extra boolean clean parameter, which if true, also deletes the instance's storage.

Alternatively, add the option to admin/instance/add (perhaps calling it replace in this case), which will cause storage to be cleared if it already exists.

Use case:

During development, let's say I have been testing my DNA with a particular instance. Now I want to update the DNA. If I keep the same instance ID, it will attempt to use the old storage, since storage directories are named by the instance ID.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant