open-consul/command/kv
cskh 416a673c6c
fix (cli): import empty directory to kv (#13939)
* fix (cli): import empty directory to kv

- when import an empty directory like foo/, the import
  command will remove the trailing /, making it a
  non-directory key.
- This change fixes the bug by adding back the / if
  the imported key is an directory
2022-07-28 10:54:25 -04:00
..
del
exp
get KV refactoring, part 2 (#11512) 2021-11-08 11:43:21 -05:00
imp fix (cli): import empty directory to kv (#13939) 2022-07-28 10:54:25 -04:00
impexp KV refactoring, part 2 (#11512) 2021-11-08 11:43:21 -05:00
put
kv.go
kv_test.go