{"action":"closed","number":616,"pull_request":{"url":"https://api.github.com/repos/intelsdi-x/snap/pulls/616","id":53084934,"html_url":"https://github.com/intelsdi-x/snap/pull/616","diff_url":"https://github.com/intelsdi-x/snap/pull/616.diff","patch_url":"https://github.com/intelsdi-x/snap/pull/616.patch","issue_url":"https://api.github.com/repos/intelsdi-x/snap/issues/616","number":616,"state":"closed","locked":false,"title":"Fixes #608. Added snapctl t:n:v unload/config get option","user":{"login":"tiffanyfj","id":12282848,"avatar_url":"https://avatars.githubusercontent.com/u/12282848?v=3","gravatar_id":"","url":"https://api.github.com/users/tiffanyfj","html_url":"https://github.com/tiffanyfj","followers_url":"https://api.github.com/users/tiffanyfj/followers","following_url":"https://api.github.com/users/tiffanyfj/following{/other_user}","gists_url":"https://api.github.com/users/tiffanyfj/gists{/gist_id}","starred_url":"https://api.github.com/users/tiffanyfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiffanyfj/subscriptions","organizations_url":"https://api.github.com/users/tiffanyfj/orgs","repos_url":"https://api.github.com/users/tiffanyfj/repos","events_url":"https://api.github.com/users/tiffanyfj/events{/privacy}","received_events_url":"https://api.github.com/users/tiffanyfj/received_events","type":"User","site_admin":false},"body":"For issue #608 \r\n```\r\ngo run cmd/snapctl/*go plugin unload collector:mock1:1\r\nPlugin unloaded\r\nName: mock1\r\nVersion: 1\r\nType: collector\r\n```\r\n```\r\ngo run cmd/snapctl/*go plugin unload -t collector -n mock2 -v 2\r\nPlugin unloaded\r\nName: mock2\r\nVersion: 2\r\nType: collector\r\n```\r\n```\r\n go run cmd/snapctl/*go plugin unload collector:mock1:2\r\nError unloading plugin:\r\nplugin not found\r\nexit status 1\r\n```\r\n```\r\ngo run cmd/snapctl/*go plugin unload -h\r\nNAME:\r\n   unload - unload <plugin_type>:<plugin_name>:<plugin_version> or unload -t <plugin_type> -n <plugin_version> -v <plugin_version>\r\n\r\nUSAGE:\r\n   command unload [command options] [arguments...]\r\n\r\nOPTIONS:\r\n   --plugin-type, -t \t\tThe plugin type\r\n   --plugin-name, -n \t\tThe plugin name\r\n   --plugin-version, -v '0'\tThe plugin version\r\n```\r\n```\r\ngo run cmd/snapctl/*go plugin unload collector:mock1\r\nMust provide plugin type\r\nNAME:\r\n   unload - unload <plugin_type>:<plugin_name>:<plugin_version> or unload -t <plugin_type> -n <plugin_version> -v <plugin_version>\r\n\r\nUSAGE:\r\n   command unload [command options] [arguments...]\r\n\r\nOPTIONS:\r\n   --plugin-type, -t \t\tThe plugin type\r\n   --plugin-name, -n \t\tThe plugin name\r\n   --plugin-version, -v '0'\tThe plugin version\r\n\r\nexit status 1\r\n```\r\n```\r\ngo run cmd/snapctl/*go plugin unload -t collector -n mock2\r\nMust provide plugin version\r\nNAME:\r\n   unload - unload <plugin_type>:<plugin_name>:<plugin_version> or unload -t <plugin_type> -n <plugin_version> -v <plugin_version>\r\n\r\nUSAGE:\r\n   command unload [command options] [arguments...]\r\n\r\nOPTIONS:\r\n   --plugin-type, -t \t\tThe plugin type\r\n   --plugin-name, -n \t\tThe plugin name\r\n   --plugin-version, -v '0'\tThe plugin version\r\n```","created_at":"2015-12-09T07:23:07Z","updated_at":"2015-12-09T19:38:02Z","closed_at":"2015-12-09T19:38:02Z","merged_at":"2015-12-09T19:38:02Z","merge_commit_sha":"e5c89a2c3dc1ab7eef7b3ce1618a16e884b27f7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intelsdi-x/snap/pulls/616/commits","review_comments_url":"https://api.github.com/repos/intelsdi-x/snap/pulls/616/comments","review_comment_url":"https://api.github.com/repos/intelsdi-x/snap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intelsdi-x/snap/issues/616/comments","statuses_url":"https://api.github.com/repos/intelsdi-x/snap/statuses/fa145bd73c8b1958e77623e69f2458a2a10dea79","head":{"label":"tiffanyfj:tb/refactor","ref":"tb/refactor","sha":"fa145bd73c8b1958e77623e69f2458a2a10dea79","user":{"login":"tiffanyfj","id":12282848,"avatar_url":"https://avatars.githubusercontent.com/u/12282848?v=3","gravatar_id":"","url":"https://api.github.com/users/tiffanyfj","html_url":"https://github.com/tiffanyfj","followers_url":"https://api.github.com/users/tiffanyfj/followers","following_url":"https://api.github.com/users/tiffanyfj/following{/other_user}","gists_url":"https://api.github.com/users/tiffanyfj/gists{/gist_id}","starred_url":"https://api.github.com/users/tiffanyfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiffanyfj/subscriptions","organizations_url":"https://api.github.com/users/tiffanyfj/orgs","repos_url":"https://api.github.com/users/tiffanyfj/repos","events_url":"https://api.github.com/users/tiffanyfj/events{/privacy}","received_events_url":"https://api.github.com/users/tiffanyfj/received_events","type":"User","site_admin":false},"repo":{"id":47290063,"name":"snap","full_name":"tiffanyfj/snap","owner":{"login":"tiffanyfj","id":12282848,"avatar_url":"https://avatars.githubusercontent.com/u/12282848?v=3","gravatar_id":"","url":"https://api.github.com/users/tiffanyfj","html_url":"https://github.com/tiffanyfj","followers_url":"https://api.github.com/users/tiffanyfj/followers","following_url":"https://api.github.com/users/tiffanyfj/following{/other_user}","gists_url":"https://api.github.com/users/tiffanyfj/gists{/gist_id}","starred_url":"https://api.github.com/users/tiffanyfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiffanyfj/subscriptions","organizations_url":"https://api.github.com/users/tiffanyfj/orgs","repos_url":"https://api.github.com/users/tiffanyfj/repos","events_url":"https://api.github.com/users/tiffanyfj/events{/privacy}","received_events_url":"https://api.github.com/users/tiffanyfj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiffanyfj/snap","description":"A powerful telemetry framework","fork":true,"url":"https://api.github.com/repos/tiffanyfj/snap","forks_url":"https://api.github.com/repos/tiffanyfj/snap/forks","keys_url":"https://api.github.com/repos/tiffanyfj/snap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiffanyfj/snap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiffanyfj/snap/teams","hooks_url":"https://api.github.com/repos/tiffanyfj/snap/hooks","issue_events_url":"https://api.github.com/repos/tiffanyfj/snap/issues/events{/number}","events_url":"https://api.github.com/repos/tiffanyfj/snap/events","assignees_url":"https://api.github.com/repos/tiffanyfj/snap/assignees{/user}","branches_url":"https://api.github.com/repos/tiffanyfj/snap/branches{/branch}","tags_url":"https://api.github.com/repos/tiffanyfj/snap/tags","blobs_url":"https://api.github.com/repos/tiffanyfj/snap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiffanyfj/snap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiffanyfj/snap/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiffanyfj/snap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiffanyfj/snap/statuses/{sha}","languages_url":"https://api.github.com/repos/tiffanyfj/snap/languages","stargazers_url":"https://api.github.com/repos/tiffanyfj/snap/stargazers","contributors_url":"https://api.github.com/repos/tiffanyfj/snap/contributors","subscribers_url":"https://api.github.com/repos/tiffanyfj/snap/subscribers","subscription_url":"https://api.github.com/repos/tiffanyfj/snap/subscription","commits_url":"https://api.github.com/repos/tiffanyfj/snap/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiffanyfj/snap/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiffanyfj/snap/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiffanyfj/snap/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiffanyfj/snap/contents/{+path}","compare_url":"https://api.github.com/repos/tiffanyfj/snap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiffanyfj/snap/merges","archive_url":"https://api.github.com/repos/tiffanyfj/snap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiffanyfj/snap/downloads","issues_url":"https://api.github.com/repos/tiffanyfj/snap/issues{/number}","pulls_url":"https://api.github.com/repos/tiffanyfj/snap/pulls{/number}","milestones_url":"https://api.github.com/repos/tiffanyfj/snap/milestones{/number}","notifications_url":"https://api.github.com/repos/tiffanyfj/snap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiffanyfj/snap/labels{/name}","releases_url":"https://api.github.com/repos/tiffanyfj/snap/releases{/id}","created_at":"2015-12-02T21:37:12Z","updated_at":"2015-12-02T21:37:14Z","pushed_at":"2015-12-09T18:20:23Z","git_url":"git://github.com/tiffanyfj/snap.git","ssh_url":"git@github.com:tiffanyfj/snap.git","clone_url":"https://github.com/tiffanyfj/snap.git","svn_url":"https://github.com/tiffanyfj/snap","homepage":"http://github.com/intelsdi-x/snap","size":9370,"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":"intelsdi-x:master","ref":"master","sha":"34095b84483b29a7c5e49c45f3fadc66950e4eb9","user":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"repo":{"id":22931257,"name":"snap","full_name":"intelsdi-x/snap","owner":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intelsdi-x/snap","description":"A powerful telemetry framework","fork":false,"url":"https://api.github.com/repos/intelsdi-x/snap","forks_url":"https://api.github.com/repos/intelsdi-x/snap/forks","keys_url":"https://api.github.com/repos/intelsdi-x/snap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intelsdi-x/snap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intelsdi-x/snap/teams","hooks_url":"https://api.github.com/repos/intelsdi-x/snap/hooks","issue_events_url":"https://api.github.com/repos/intelsdi-x/snap/issues/events{/number}","events_url":"https://api.github.com/repos/intelsdi-x/snap/events","assignees_url":"https://api.github.com/repos/intelsdi-x/snap/assignees{/user}","branches_url":"https://api.github.com/repos/intelsdi-x/snap/branches{/branch}","tags_url":"https://api.github.com/repos/intelsdi-x/snap/tags","blobs_url":"https://api.github.com/repos/intelsdi-x/snap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intelsdi-x/snap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intelsdi-x/snap/git/refs{/sha}","trees_url":"https://api.github.com/repos/intelsdi-x/snap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intelsdi-x/snap/statuses/{sha}","languages_url":"https://api.github.com/repos/intelsdi-x/snap/languages","stargazers_url":"https://api.github.com/repos/intelsdi-x/snap/stargazers","contributors_url":"https://api.github.com/repos/intelsdi-x/snap/contributors","subscribers_url":"https://api.github.com/repos/intelsdi-x/snap/subscribers","subscription_url":"https://api.github.com/repos/intelsdi-x/snap/subscription","commits_url":"https://api.github.com/repos/intelsdi-x/snap/commits{/sha}","git_commits_url":"https://api.github.com/repos/intelsdi-x/snap/git/commits{/sha}","comments_url":"https://api.github.com/repos/intelsdi-x/snap/comments{/number}","issue_comment_url":"https://api.github.com/repos/intelsdi-x/snap/issues/comments{/number}","contents_url":"https://api.github.com/repos/intelsdi-x/snap/contents/{+path}","compare_url":"https://api.github.com/repos/intelsdi-x/snap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intelsdi-x/snap/merges","archive_url":"https://api.github.com/repos/intelsdi-x/snap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intelsdi-x/snap/downloads","issues_url":"https://api.github.com/repos/intelsdi-x/snap/issues{/number}","pulls_url":"https://api.github.com/repos/intelsdi-x/snap/pulls{/number}","milestones_url":"https://api.github.com/repos/intelsdi-x/snap/milestones{/number}","notifications_url":"https://api.github.com/repos/intelsdi-x/snap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intelsdi-x/snap/labels{/name}","releases_url":"https://api.github.com/repos/intelsdi-x/snap/releases{/id}","created_at":"2014-08-13T21:04:51Z","updated_at":"2015-12-09T18:39:19Z","pushed_at":"2015-12-09T19:38:02Z","git_url":"git://github.com/intelsdi-x/snap.git","ssh_url":"git@github.com:intelsdi-x/snap.git","clone_url":"https://github.com/intelsdi-x/snap.git","svn_url":"https://github.com/intelsdi-x/snap","homepage":"http://github.com/intelsdi-x/snap","size":19277,"stargazers_count":282,"watchers_count":282,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":42,"forks":30,"open_issues":42,"watchers":282,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intelsdi-x/snap/pulls/616"},"html":{"href":"https://github.com/intelsdi-x/snap/pull/616"},"issue":{"href":"https://api.github.com/repos/intelsdi-x/snap/issues/616"},"comments":{"href":"https://api.github.com/repos/intelsdi-x/snap/issues/616/comments"},"review_comments":{"href":"https://api.github.com/repos/intelsdi-x/snap/pulls/616/comments"},"review_comment":{"href":"https://api.github.com/repos/intelsdi-x/snap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intelsdi-x/snap/pulls/616/commits"},"statuses":{"href":"https://api.github.com/repos/intelsdi-x/snap/statuses/fa145bd73c8b1958e77623e69f2458a2a10dea79"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tiffanyfj","id":12282848,"avatar_url":"https://avatars.githubusercontent.com/u/12282848?v=3","gravatar_id":"","url":"https://api.github.com/users/tiffanyfj","html_url":"https://github.com/tiffanyfj","followers_url":"https://api.github.com/users/tiffanyfj/followers","following_url":"https://api.github.com/users/tiffanyfj/following{/other_user}","gists_url":"https://api.github.com/users/tiffanyfj/gists{/gist_id}","starred_url":"https://api.github.com/users/tiffanyfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiffanyfj/subscriptions","organizations_url":"https://api.github.com/users/tiffanyfj/orgs","repos_url":"https://api.github.com/users/tiffanyfj/repos","events_url":"https://api.github.com/users/tiffanyfj/events{/privacy}","received_events_url":"https://api.github.com/users/tiffanyfj/received_events","type":"User","site_admin":false},"comments":7,"review_comments":2,"commits":1,"additions":68,"deletions":9,"changed_files":3}}