jippi/hashi-ui

Delete folder in kv deletes all sibling folders having the same prefix

Open

#427 opened on Jan 15, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (157 forks)batch import
bughelp wanted

Repository metrics

Stars
 (1,235 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

In Consul KV, suppose there 2 folders:

  • test
  • test2

Now, if the folder 'test' is deleted (steps provided below), it will also delete the folder 'test2'. Steps to reproduce:

  • Go to Consul KV
  • Create 2 folders: 'test' and 'test2'
  • Click on 'test' and then on the 'DELETE FOLDER' button on the top-right corner.
  • Click on 'YES, DELETE THE FOLDER'.

This will delete both the folders 'test' and 'test2', and any other sibling folder whose name starts with 'test'.

Contributor guide