!> **Trailing slashes are important** in the recursive delete operation, since
Consul performs a greedy match on the provided prefix. If you were to use "foo"
as the key, this would recursively delete any key starting with those letters
such as "foo", "food", and "football" not just "foo". To ensure you are deleting
a folder, always use a trailing slash.
It is not valid to combine the `-cas` option with `-recurse`, since you are
deleting multiple keys under a prefix in a single operation:
I was noticing the same behavior and submitted a PR that should fix this. It still requires a review since it might affect something I am not aware of.
I have the following files in my git repository:
When i update application.yml, git2consul remove the application and application-dev keys from consul KV. I think the problem is this:
https://www.consul.io/docs/commands/kv/delete.html
Log file
My config file
This can be related to #118