Open moczkows opened 6 years ago
commits have wrong user - sorry ryanbreen! I committed from machine when tests were setup and I setup git repo same as travis build was doing (with your user info)
Appending "/" to path before delete is now executed only when "expand" mode is used, so we know we are handling consul folders. It fixed failing tests.
… remove desired key/subtree
Issue - having files:
After both are added and populated to consul, when I modify test.yaml only then test.yaml is updated in consul, but test_dev.yaml is removed at the same time.
I think it is related to not having '/' at del path. See: https://www.consul.io/docs/commands/kv/delete.html ("Trailing slashes are important" section)
Local modification fixed problem, but I am not aware of other consequences - would be happy to hear. Also there is second dev reference at the top of file I am not sure I should also modify.