open-consul/command/kv/imp
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
..
kv_import.go fix (cli): import empty directory to kv (#13939) 2022-07-28 10:54:25 -04:00
kv_import_test.go fix (cli): import empty directory to kv (#13939) 2022-07-28 10:54:25 -04:00