{"action":"created","comment":{"url":"https://api.github.com/repos/contiv/volplugin/pulls/comments/64426399","id":64426399,"diff_hunk":"@@ -71,25 +71,33 @@ func (d *DaemonConfig) Daemon(listen string) {\n \tr := mux.NewRouter()\n \n \tpostRouter := map[string]func(http.ResponseWriter, *http.Request){\n-\t\t\"/request\":      d.handleRequest,\n-\t\t\"/create\":       d.handleCreate,\n-\t\t\"/copy\":         d.handleCopy,\n-\t\t\"/mount\":        d.handleMount,\n-\t\t\"/mount-report\": d.handleMountReport,\n-\t\t\"/unmount\":      d.handleUnmount,\n-\t\t\"/remove\":       d.handleRemove,\n+\t\t\"/global\":                           d.handleGlobalUpload,\n+\t\t\"/volumes/create\":                   d.handleCreate,\n+\t\t\"/volumes/copy\":                     d.handleCopy,\n+\t\t\"/volumes/remove\":                   d.handleRemove,\n+\t\t\"/volumes/removeforce\":              d.handleRemoveForce,\n+\t\t\"/volumes/request\":                  d.handleRequest,\n+\t\t\"/mount\":                            d.handleMount,","path":"volmaster/daemon.go","position":17,"original_position":17,"commit_id":"12004ac3ec0c06ee7937e32845ee33e7c45a120f","original_commit_id":"12004ac3ec0c06ee7937e32845ee33e7c45a120f","user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"body":"I asked him not to do it. This is the locking code that travels through the volmaster and I didn't want it fiddled with.","created_at":"2016-05-24T16:28:43Z","updated_at":"2016-05-24T16:28:43Z","html_url":"https://github.com/contiv/volplugin/pull/255#discussion_r64426399","pull_request_url":"https://api.github.com/repos/contiv/volplugin/pulls/255","_links":{"self":{"href":"https://api.github.com/repos/contiv/volplugin/pulls/comments/64426399"},"html":{"href":"https://github.com/contiv/volplugin/pull/255#discussion_r64426399"},"pull_request":{"href":"https://api.github.com/repos/contiv/volplugin/pulls/255"}}},"pull_request":{"url":"https://api.github.com/repos/contiv/volplugin/pulls/255","id":69559420,"html_url":"https://github.com/contiv/volplugin/pull/255","diff_url":"https://github.com/contiv/volplugin/pull/255.diff","patch_url":"https://github.com/contiv/volplugin/pull/255.patch","issue_url":"https://api.github.com/repos/contiv/volplugin/issues/255","number":255,"state":"open","locked":false,"title":"volmaster,volplugin: make routes more consistent","user":{"login":"unclejack","id":1409668,"avatar_url":"https://avatars.githubusercontent.com/u/1409668?v=3","gravatar_id":"","url":"https://api.github.com/users/unclejack","html_url":"https://github.com/unclejack","followers_url":"https://api.github.com/users/unclejack/followers","following_url":"https://api.github.com/users/unclejack/following{/other_user}","gists_url":"https://api.github.com/users/unclejack/gists{/gist_id}","starred_url":"https://api.github.com/users/unclejack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclejack/subscriptions","organizations_url":"https://api.github.com/users/unclejack/orgs","repos_url":"https://api.github.com/users/unclejack/repos","events_url":"https://api.github.com/users/unclejack/events{/privacy}","received_events_url":"https://api.github.com/users/unclejack/received_events","type":"User","site_admin":false},"body":"Closes #244","created_at":"2016-05-10T19:00:13Z","updated_at":"2016-05-24T16:28:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"918a9e358baa70753089882b08873fb7a0237d41","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/contiv/volplugin/pulls/255/commits","review_comments_url":"https://api.github.com/repos/contiv/volplugin/pulls/255/comments","review_comment_url":"https://api.github.com/repos/contiv/volplugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contiv/volplugin/issues/255/comments","statuses_url":"https://api.github.com/repos/contiv/volplugin/statuses/12004ac3ec0c06ee7937e32845ee33e7c45a120f","head":{"label":"unclejack:volmaster_change_routes","ref":"volmaster_change_routes","sha":"12004ac3ec0c06ee7937e32845ee33e7c45a120f","user":{"login":"unclejack","id":1409668,"avatar_url":"https://avatars.githubusercontent.com/u/1409668?v=3","gravatar_id":"","url":"https://api.github.com/users/unclejack","html_url":"https://github.com/unclejack","followers_url":"https://api.github.com/users/unclejack/followers","following_url":"https://api.github.com/users/unclejack/following{/other_user}","gists_url":"https://api.github.com/users/unclejack/gists{/gist_id}","starred_url":"https://api.github.com/users/unclejack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclejack/subscriptions","organizations_url":"https://api.github.com/users/unclejack/orgs","repos_url":"https://api.github.com/users/unclejack/repos","events_url":"https://api.github.com/users/unclejack/events{/privacy}","received_events_url":"https://api.github.com/users/unclejack/received_events","type":"User","site_admin":false},"repo":{"id":45904317,"name":"volplugin","full_name":"unclejack/volplugin","owner":{"login":"unclejack","id":1409668,"avatar_url":"https://avatars.githubusercontent.com/u/1409668?v=3","gravatar_id":"","url":"https://api.github.com/users/unclejack","html_url":"https://github.com/unclejack","followers_url":"https://api.github.com/users/unclejack/followers","following_url":"https://api.github.com/users/unclejack/following{/other_user}","gists_url":"https://api.github.com/users/unclejack/gists{/gist_id}","starred_url":"https://api.github.com/users/unclejack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclejack/subscriptions","organizations_url":"https://api.github.com/users/unclejack/orgs","repos_url":"https://api.github.com/users/unclejack/repos","events_url":"https://api.github.com/users/unclejack/events{/privacy}","received_events_url":"https://api.github.com/users/unclejack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unclejack/volplugin","description":"Ceph volume plugin for Docker","fork":true,"url":"https://api.github.com/repos/unclejack/volplugin","forks_url":"https://api.github.com/repos/unclejack/volplugin/forks","keys_url":"https://api.github.com/repos/unclejack/volplugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unclejack/volplugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unclejack/volplugin/teams","hooks_url":"https://api.github.com/repos/unclejack/volplugin/hooks","issue_events_url":"https://api.github.com/repos/unclejack/volplugin/issues/events{/number}","events_url":"https://api.github.com/repos/unclejack/volplugin/events","assignees_url":"https://api.github.com/repos/unclejack/volplugin/assignees{/user}","branches_url":"https://api.github.com/repos/unclejack/volplugin/branches{/branch}","tags_url":"https://api.github.com/repos/unclejack/volplugin/tags","blobs_url":"https://api.github.com/repos/unclejack/volplugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unclejack/volplugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unclejack/volplugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/unclejack/volplugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unclejack/volplugin/statuses/{sha}","languages_url":"https://api.github.com/repos/unclejack/volplugin/languages","stargazers_url":"https://api.github.com/repos/unclejack/volplugin/stargazers","contributors_url":"https://api.github.com/repos/unclejack/volplugin/contributors","subscribers_url":"https://api.github.com/repos/unclejack/volplugin/subscribers","subscription_url":"https://api.github.com/repos/unclejack/volplugin/subscription","commits_url":"https://api.github.com/repos/unclejack/volplugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/unclejack/volplugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/unclejack/volplugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/unclejack/volplugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/unclejack/volplugin/contents/{+path}","compare_url":"https://api.github.com/repos/unclejack/volplugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unclejack/volplugin/merges","archive_url":"https://api.github.com/repos/unclejack/volplugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unclejack/volplugin/downloads","issues_url":"https://api.github.com/repos/unclejack/volplugin/issues{/number}","pulls_url":"https://api.github.com/repos/unclejack/volplugin/pulls{/number}","milestones_url":"https://api.github.com/repos/unclejack/volplugin/milestones{/number}","notifications_url":"https://api.github.com/repos/unclejack/volplugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unclejack/volplugin/labels{/name}","releases_url":"https://api.github.com/repos/unclejack/volplugin/releases{/id}","deployments_url":"https://api.github.com/repos/unclejack/volplugin/deployments","created_at":"2015-11-10T10:19:41Z","updated_at":"2016-01-22T19:53:35Z","pushed_at":"2016-05-24T14:40:05Z","git_url":"git://github.com/unclejack/volplugin.git","ssh_url":"git@github.com:unclejack/volplugin.git","clone_url":"https://github.com/unclejack/volplugin.git","svn_url":"https://github.com/unclejack/volplugin","homepage":null,"size":2913,"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":"contiv:master","ref":"master","sha":"8f4fbf09a17b8848ab43ab6181000a5aed4395d9","user":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"Organization","site_admin":false},"repo":{"id":38460040,"name":"volplugin","full_name":"contiv/volplugin","owner":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contiv/volplugin","description":"Policy backed Clustered Storage (via Ceph or NFS) for Docker","fork":false,"url":"https://api.github.com/repos/contiv/volplugin","forks_url":"https://api.github.com/repos/contiv/volplugin/forks","keys_url":"https://api.github.com/repos/contiv/volplugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiv/volplugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiv/volplugin/teams","hooks_url":"https://api.github.com/repos/contiv/volplugin/hooks","issue_events_url":"https://api.github.com/repos/contiv/volplugin/issues/events{/number}","events_url":"https://api.github.com/repos/contiv/volplugin/events","assignees_url":"https://api.github.com/repos/contiv/volplugin/assignees{/user}","branches_url":"https://api.github.com/repos/contiv/volplugin/branches{/branch}","tags_url":"https://api.github.com/repos/contiv/volplugin/tags","blobs_url":"https://api.github.com/repos/contiv/volplugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiv/volplugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiv/volplugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiv/volplugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiv/volplugin/statuses/{sha}","languages_url":"https://api.github.com/repos/contiv/volplugin/languages","stargazers_url":"https://api.github.com/repos/contiv/volplugin/stargazers","contributors_url":"https://api.github.com/repos/contiv/volplugin/contributors","subscribers_url":"https://api.github.com/repos/contiv/volplugin/subscribers","subscription_url":"https://api.github.com/repos/contiv/volplugin/subscription","commits_url":"https://api.github.com/repos/contiv/volplugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiv/volplugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiv/volplugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiv/volplugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiv/volplugin/contents/{+path}","compare_url":"https://api.github.com/repos/contiv/volplugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiv/volplugin/merges","archive_url":"https://api.github.com/repos/contiv/volplugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiv/volplugin/downloads","issues_url":"https://api.github.com/repos/contiv/volplugin/issues{/number}","pulls_url":"https://api.github.com/repos/contiv/volplugin/pulls{/number}","milestones_url":"https://api.github.com/repos/contiv/volplugin/milestones{/number}","notifications_url":"https://api.github.com/repos/contiv/volplugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiv/volplugin/labels{/name}","releases_url":"https://api.github.com/repos/contiv/volplugin/releases{/id}","deployments_url":"https://api.github.com/repos/contiv/volplugin/deployments","created_at":"2015-07-02T22:31:53Z","updated_at":"2016-05-24T02:27:08Z","pushed_at":"2016-05-24T14:40:06Z","git_url":"git://github.com/contiv/volplugin.git","ssh_url":"git@github.com:contiv/volplugin.git","clone_url":"https://github.com/contiv/volplugin.git","svn_url":"https://github.com/contiv/volplugin","homepage":"http://docs.contiv.io","size":2916,"stargazers_count":107,"watchers_count":107,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":25,"forks":20,"open_issues":25,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contiv/volplugin/pulls/255"},"html":{"href":"https://github.com/contiv/volplugin/pull/255"},"issue":{"href":"https://api.github.com/repos/contiv/volplugin/issues/255"},"comments":{"href":"https://api.github.com/repos/contiv/volplugin/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/contiv/volplugin/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/contiv/volplugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contiv/volplugin/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/contiv/volplugin/statuses/12004ac3ec0c06ee7937e32845ee33e7c45a120f"}}}}
{"actor":{"display_login":"erikh"}}