{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/4068","labels_url":"https://api.github.com/repos/coreos/etcd/issues/4068/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/4068/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/4068/events","html_url":"https://github.com/coreos/etcd/issues/4068","id":123779577,"number":4068,"title":"mk runs over existing keys (bug/documentation issue ?)","user":{"login":"amimimor","id":966218,"avatar_url":"https://avatars.githubusercontent.com/u/966218?v=3","gravatar_id":"","url":"https://api.github.com/users/amimimor","html_url":"https://github.com/amimimor","followers_url":"https://api.github.com/users/amimimor/followers","following_url":"https://api.github.com/users/amimimor/following{/other_user}","gists_url":"https://api.github.com/users/amimimor/gists{/gist_id}","starred_url":"https://api.github.com/users/amimimor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amimimor/subscriptions","organizations_url":"https://api.github.com/users/amimimor/orgs","repos_url":"https://api.github.com/users/amimimor/repos","events_url":"https://api.github.com/users/amimimor/events{/privacy}","received_events_url":"https://api.github.com/users/amimimor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/etcd/labels/component/etcdctl","name":"component/etcdctl","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/etcd/labels/kind/bug","name":"kind/bug","color":"ff0000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-24T09:15:05Z","updated_at":"2015-12-24T17:31:50Z","closed_at":"2015-12-24T17:31:50Z","body":"I'm having an issue (or docs miss understanding)\r\nMy etcdctl version is 2.2.0\r\nSee the bug below:\r\n\r\n## Setting the kv:\r\n`core@ip-10-0-2-185 /var/lib/docker/log/smoove/seed-1 $ etcdctl set /smoove/local/cluster/test/access-conf/database-host test `\r\n`test`\r\n## Getting the kv:\r\n`core@ip-10-0-2-185 /var/lib/docker/log/smoove/seed-1 $ etcdctl get /smoove/local/cluster/test/access-conf/database-host`\r\n`test`\r\n\r\n## 'mk' should not have overrun the existing kv, at least according to docs: \"Create a new key /foo/bar, only if the key did not previously exist\"\r\n\r\n`core@ip-10-0-2-185 /var/lib/docker/log/smoove/seed-1 $ etcdctl mk /smoove/local/cluster/test/access-conf/database-host problem`\r\n`problem`\r\n\r\n`core@ip-10-0-2-185 /var/lib/docker/log/smoove/seed-1 $ etcdctl get /smoove/local/cluster/test/access-conf/database-host`\r\n`problem`\r\n"}}