{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/4","id":64427498,"html_url":"https://github.com/divideandconquer/go-consul-client/pull/4","diff_url":"https://github.com/divideandconquer/go-consul-client/pull/4.diff","patch_url":"https://github.com/divideandconquer/go-consul-client/pull/4.patch","issue_url":"https://api.github.com/repos/divideandconquer/go-consul-client/issues/4","number":4,"state":"closed","locked":false,"title":"fixes addition of forward-slash when namespace is not given","user":{"login":"durmaze","id":4676794,"avatar_url":"https://avatars.githubusercontent.com/u/4676794?v=3","gravatar_id":"","url":"https://api.github.com/users/durmaze","html_url":"https://github.com/durmaze","followers_url":"https://api.github.com/users/durmaze/followers","following_url":"https://api.github.com/users/durmaze/following{/other_user}","gists_url":"https://api.github.com/users/durmaze/gists{/gist_id}","starred_url":"https://api.github.com/users/durmaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durmaze/subscriptions","organizations_url":"https://api.github.com/users/durmaze/orgs","repos_url":"https://api.github.com/users/durmaze/repos","events_url":"https://api.github.com/users/durmaze/events{/privacy}","received_events_url":"https://api.github.com/users/durmaze/received_events","type":"User","site_admin":false},"body":"when namespace is not given, previos version was constructing the key with \"/\", which causes an error on Consul. Since key names cannot be started with \"/\". \r\n\r\nthis PR basically ignores empty prefixes and creates the key without a prefix.","created_at":"2016-03-29T08:07:02Z","updated_at":"2016-03-29T14:41:58Z","closed_at":"2016-03-29T14:41:58Z","merged_at":"2016-03-29T14:41:58Z","merge_commit_sha":"c3b459defe0326c5a329a0c364fc55e9275e4661","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/4/commits","review_comments_url":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/4/comments","review_comment_url":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/divideandconquer/go-consul-client/issues/4/comments","statuses_url":"https://api.github.com/repos/divideandconquer/go-consul-client/statuses/31add42a93d1ed2e19c421363071cbdc6572e8bf","head":{"label":"durmaze:master","ref":"master","sha":"31add42a93d1ed2e19c421363071cbdc6572e8bf","user":{"login":"durmaze","id":4676794,"avatar_url":"https://avatars.githubusercontent.com/u/4676794?v=3","gravatar_id":"","url":"https://api.github.com/users/durmaze","html_url":"https://github.com/durmaze","followers_url":"https://api.github.com/users/durmaze/followers","following_url":"https://api.github.com/users/durmaze/following{/other_user}","gists_url":"https://api.github.com/users/durmaze/gists{/gist_id}","starred_url":"https://api.github.com/users/durmaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durmaze/subscriptions","organizations_url":"https://api.github.com/users/durmaze/orgs","repos_url":"https://api.github.com/users/durmaze/repos","events_url":"https://api.github.com/users/durmaze/events{/privacy}","received_events_url":"https://api.github.com/users/durmaze/received_events","type":"User","site_admin":false},"repo":{"id":54953354,"name":"go-consul-client","full_name":"durmaze/go-consul-client","owner":{"login":"durmaze","id":4676794,"avatar_url":"https://avatars.githubusercontent.com/u/4676794?v=3","gravatar_id":"","url":"https://api.github.com/users/durmaze","html_url":"https://github.com/durmaze","followers_url":"https://api.github.com/users/durmaze/followers","following_url":"https://api.github.com/users/durmaze/following{/other_user}","gists_url":"https://api.github.com/users/durmaze/gists{/gist_id}","starred_url":"https://api.github.com/users/durmaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durmaze/subscriptions","organizations_url":"https://api.github.com/users/durmaze/orgs","repos_url":"https://api.github.com/users/durmaze/repos","events_url":"https://api.github.com/users/durmaze/events{/privacy}","received_events_url":"https://api.github.com/users/durmaze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/durmaze/go-consul-client","description":"A consul library that can load json into consul KV and read a consul KV namespace into a config cache","fork":true,"url":"https://api.github.com/repos/durmaze/go-consul-client","forks_url":"https://api.github.com/repos/durmaze/go-consul-client/forks","keys_url":"https://api.github.com/repos/durmaze/go-consul-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/durmaze/go-consul-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/durmaze/go-consul-client/teams","hooks_url":"https://api.github.com/repos/durmaze/go-consul-client/hooks","issue_events_url":"https://api.github.com/repos/durmaze/go-consul-client/issues/events{/number}","events_url":"https://api.github.com/repos/durmaze/go-consul-client/events","assignees_url":"https://api.github.com/repos/durmaze/go-consul-client/assignees{/user}","branches_url":"https://api.github.com/repos/durmaze/go-consul-client/branches{/branch}","tags_url":"https://api.github.com/repos/durmaze/go-consul-client/tags","blobs_url":"https://api.github.com/repos/durmaze/go-consul-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/durmaze/go-consul-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/durmaze/go-consul-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/durmaze/go-consul-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/durmaze/go-consul-client/statuses/{sha}","languages_url":"https://api.github.com/repos/durmaze/go-consul-client/languages","stargazers_url":"https://api.github.com/repos/durmaze/go-consul-client/stargazers","contributors_url":"https://api.github.com/repos/durmaze/go-consul-client/contributors","subscribers_url":"https://api.github.com/repos/durmaze/go-consul-client/subscribers","subscription_url":"https://api.github.com/repos/durmaze/go-consul-client/subscription","commits_url":"https://api.github.com/repos/durmaze/go-consul-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/durmaze/go-consul-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/durmaze/go-consul-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/durmaze/go-consul-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/durmaze/go-consul-client/contents/{+path}","compare_url":"https://api.github.com/repos/durmaze/go-consul-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/durmaze/go-consul-client/merges","archive_url":"https://api.github.com/repos/durmaze/go-consul-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/durmaze/go-consul-client/downloads","issues_url":"https://api.github.com/repos/durmaze/go-consul-client/issues{/number}","pulls_url":"https://api.github.com/repos/durmaze/go-consul-client/pulls{/number}","milestones_url":"https://api.github.com/repos/durmaze/go-consul-client/milestones{/number}","notifications_url":"https://api.github.com/repos/durmaze/go-consul-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/durmaze/go-consul-client/labels{/name}","releases_url":"https://api.github.com/repos/durmaze/go-consul-client/releases{/id}","deployments_url":"https://api.github.com/repos/durmaze/go-consul-client/deployments","created_at":"2016-03-29T07:00:12Z","updated_at":"2016-03-29T07:00:14Z","pushed_at":"2016-03-29T07:32:06Z","git_url":"git://github.com/durmaze/go-consul-client.git","ssh_url":"git@github.com:durmaze/go-consul-client.git","clone_url":"https://github.com/durmaze/go-consul-client.git","svn_url":"https://github.com/durmaze/go-consul-client","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"divideandconquer:master","ref":"master","sha":"0750e3b525eabd06580b7be2135c49baceb94302","user":{"login":"divideandconquer","id":5307966,"avatar_url":"https://avatars.githubusercontent.com/u/5307966?v=3","gravatar_id":"","url":"https://api.github.com/users/divideandconquer","html_url":"https://github.com/divideandconquer","followers_url":"https://api.github.com/users/divideandconquer/followers","following_url":"https://api.github.com/users/divideandconquer/following{/other_user}","gists_url":"https://api.github.com/users/divideandconquer/gists{/gist_id}","starred_url":"https://api.github.com/users/divideandconquer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divideandconquer/subscriptions","organizations_url":"https://api.github.com/users/divideandconquer/orgs","repos_url":"https://api.github.com/users/divideandconquer/repos","events_url":"https://api.github.com/users/divideandconquer/events{/privacy}","received_events_url":"https://api.github.com/users/divideandconquer/received_events","type":"User","site_admin":false},"repo":{"id":47441387,"name":"go-consul-client","full_name":"divideandconquer/go-consul-client","owner":{"login":"divideandconquer","id":5307966,"avatar_url":"https://avatars.githubusercontent.com/u/5307966?v=3","gravatar_id":"","url":"https://api.github.com/users/divideandconquer","html_url":"https://github.com/divideandconquer","followers_url":"https://api.github.com/users/divideandconquer/followers","following_url":"https://api.github.com/users/divideandconquer/following{/other_user}","gists_url":"https://api.github.com/users/divideandconquer/gists{/gist_id}","starred_url":"https://api.github.com/users/divideandconquer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divideandconquer/subscriptions","organizations_url":"https://api.github.com/users/divideandconquer/orgs","repos_url":"https://api.github.com/users/divideandconquer/repos","events_url":"https://api.github.com/users/divideandconquer/events{/privacy}","received_events_url":"https://api.github.com/users/divideandconquer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/divideandconquer/go-consul-client","description":"A consul library that can load json into consul KV and read a consul KV namespace into a config cache","fork":false,"url":"https://api.github.com/repos/divideandconquer/go-consul-client","forks_url":"https://api.github.com/repos/divideandconquer/go-consul-client/forks","keys_url":"https://api.github.com/repos/divideandconquer/go-consul-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/divideandconquer/go-consul-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/divideandconquer/go-consul-client/teams","hooks_url":"https://api.github.com/repos/divideandconquer/go-consul-client/hooks","issue_events_url":"https://api.github.com/repos/divideandconquer/go-consul-client/issues/events{/number}","events_url":"https://api.github.com/repos/divideandconquer/go-consul-client/events","assignees_url":"https://api.github.com/repos/divideandconquer/go-consul-client/assignees{/user}","branches_url":"https://api.github.com/repos/divideandconquer/go-consul-client/branches{/branch}","tags_url":"https://api.github.com/repos/divideandconquer/go-consul-client/tags","blobs_url":"https://api.github.com/repos/divideandconquer/go-consul-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/divideandconquer/go-consul-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/divideandconquer/go-consul-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/divideandconquer/go-consul-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/divideandconquer/go-consul-client/statuses/{sha}","languages_url":"https://api.github.com/repos/divideandconquer/go-consul-client/languages","stargazers_url":"https://api.github.com/repos/divideandconquer/go-consul-client/stargazers","contributors_url":"https://api.github.com/repos/divideandconquer/go-consul-client/contributors","subscribers_url":"https://api.github.com/repos/divideandconquer/go-consul-client/subscribers","subscription_url":"https://api.github.com/repos/divideandconquer/go-consul-client/subscription","commits_url":"https://api.github.com/repos/divideandconquer/go-consul-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/divideandconquer/go-consul-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/divideandconquer/go-consul-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/divideandconquer/go-consul-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/divideandconquer/go-consul-client/contents/{+path}","compare_url":"https://api.github.com/repos/divideandconquer/go-consul-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/divideandconquer/go-consul-client/merges","archive_url":"https://api.github.com/repos/divideandconquer/go-consul-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/divideandconquer/go-consul-client/downloads","issues_url":"https://api.github.com/repos/divideandconquer/go-consul-client/issues{/number}","pulls_url":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls{/number}","milestones_url":"https://api.github.com/repos/divideandconquer/go-consul-client/milestones{/number}","notifications_url":"https://api.github.com/repos/divideandconquer/go-consul-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/divideandconquer/go-consul-client/labels{/name}","releases_url":"https://api.github.com/repos/divideandconquer/go-consul-client/releases{/id}","deployments_url":"https://api.github.com/repos/divideandconquer/go-consul-client/deployments","created_at":"2015-12-05T03:55:50Z","updated_at":"2016-01-14T02:26:54Z","pushed_at":"2016-03-29T14:41:58Z","git_url":"git://github.com/divideandconquer/go-consul-client.git","ssh_url":"git@github.com:divideandconquer/go-consul-client.git","clone_url":"https://github.com/divideandconquer/go-consul-client.git","svn_url":"https://github.com/divideandconquer/go-consul-client","homepage":null,"size":65,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/4"},"html":{"href":"https://github.com/divideandconquer/go-consul-client/pull/4"},"issue":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/issues/4"},"comments":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/divideandconquer/go-consul-client/statuses/31add42a93d1ed2e19c421363071cbdc6572e8bf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"divideandconquer","id":5307966,"avatar_url":"https://avatars.githubusercontent.com/u/5307966?v=3","gravatar_id":"","url":"https://api.github.com/users/divideandconquer","html_url":"https://github.com/divideandconquer","followers_url":"https://api.github.com/users/divideandconquer/followers","following_url":"https://api.github.com/users/divideandconquer/following{/other_user}","gists_url":"https://api.github.com/users/divideandconquer/gists{/gist_id}","starred_url":"https://api.github.com/users/divideandconquer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divideandconquer/subscriptions","organizations_url":"https://api.github.com/users/divideandconquer/orgs","repos_url":"https://api.github.com/users/divideandconquer/repos","events_url":"https://api.github.com/users/divideandconquer/events{/privacy}","received_events_url":"https://api.github.com/users/divideandconquer/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":11,"deletions":2,"changed_files":1}}