{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/42653146","id":42653146,"diff_hunk":"@@ -38,12 +38,16 @@ func TestCanSupport(t *testing.T) {\n \tif plug.Name() != \"kubernetes.io/nfs\" {\n \t\tt.Errorf(\"Wrong name: %s\", plug.Name())\n \t}\n-\tif !plug.CanSupport(&volume.Spec{Volume: &api.Volume{VolumeSource: api.VolumeSource{NFS: &api.NFSVolumeSource{}}}}) {\n+\tfoundMount := findMount()\n+\tif plug.CanSupport(&volume.Spec{Volume: &api.Volume{VolumeSource: api.VolumeSource{NFS: &api.NFSVolumeSource{}}}}) != foundMount {","path":"pkg/volume/nfs/nfs_test.go","position":6,"original_position":6,"commit_id":"eb757e90877f40b046fbb3408db700ee8ab50567","original_commit_id":"952269dc0f7481fc6e2c88e88658748a75af6a81","user":{"login":"rootfs","id":7062400,"avatar_url":"https://avatars.githubusercontent.com/u/7062400?v=3","gravatar_id":"","url":"https://api.github.com/users/rootfs","html_url":"https://github.com/rootfs","followers_url":"https://api.github.com/users/rootfs/followers","following_url":"https://api.github.com/users/rootfs/following{/other_user}","gists_url":"https://api.github.com/users/rootfs/gists{/gist_id}","starred_url":"https://api.github.com/users/rootfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootfs/subscriptions","organizations_url":"https://api.github.com/users/rootfs/orgs","repos_url":"https://api.github.com/users/rootfs/repos","events_url":"https://api.github.com/users/rootfs/events{/privacy}","received_events_url":"https://api.github.com/users/rootfs/received_events","type":"User","site_admin":false},"body":"I'll get a mac next time :)\r\nosx (darwin) is added now.","created_at":"2015-10-21T17:16:22Z","updated_at":"2015-10-21T17:16:22Z","html_url":"https://github.com/kubernetes/kubernetes/pull/16032#discussion_r42653146","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/42653146"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/16032#discussion_r42653146"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032","id":48349793,"html_url":"https://github.com/kubernetes/kubernetes/pull/16032","diff_url":"https://github.com/kubernetes/kubernetes/pull/16032.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/16032.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16032","number":16032,"state":"open","locked":false,"title":"nfs: check if /sbin/mount.nfs* is present in CanSupport()","user":{"login":"rootfs","id":7062400,"avatar_url":"https://avatars.githubusercontent.com/u/7062400?v=3","gravatar_id":"","url":"https://api.github.com/users/rootfs","html_url":"https://github.com/rootfs","followers_url":"https://api.github.com/users/rootfs/followers","following_url":"https://api.github.com/users/rootfs/following{/other_user}","gists_url":"https://api.github.com/users/rootfs/gists{/gist_id}","starred_url":"https://api.github.com/users/rootfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootfs/subscriptions","organizations_url":"https://api.github.com/users/rootfs/orgs","repos_url":"https://api.github.com/users/rootfs/repos","events_url":"https://api.github.com/users/rootfs/events{/privacy}","received_events_url":"https://api.github.com/users/rootfs/received_events","type":"User","site_admin":false},"body":"Check if nfs mount is installed and help diagnose pod creation problems.\r\n\r\n@kubernetes/rh-storage","created_at":"2015-10-21T15:46:26Z","updated_at":"2015-10-21T17:16:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3d233a7f77d79762a6eb225020f92fb7d916e2a","assignee":{"login":"saad-ali","id":10052848,"avatar_url":"https://avatars.githubusercontent.com/u/10052848?v=3","gravatar_id":"","url":"https://api.github.com/users/saad-ali","html_url":"https://github.com/saad-ali","followers_url":"https://api.github.com/users/saad-ali/followers","following_url":"https://api.github.com/users/saad-ali/following{/other_user}","gists_url":"https://api.github.com/users/saad-ali/gists{/gist_id}","starred_url":"https://api.github.com/users/saad-ali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saad-ali/subscriptions","organizations_url":"https://api.github.com/users/saad-ali/orgs","repos_url":"https://api.github.com/users/saad-ali/repos","events_url":"https://api.github.com/users/saad-ali/events{/privacy}","received_events_url":"https://api.github.com/users/saad-ali/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16032/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/eb757e90877f40b046fbb3408db700ee8ab50567","head":{"label":"rootfs:nfs-support","ref":"nfs-support","sha":"eb757e90877f40b046fbb3408db700ee8ab50567","user":{"login":"rootfs","id":7062400,"avatar_url":"https://avatars.githubusercontent.com/u/7062400?v=3","gravatar_id":"","url":"https://api.github.com/users/rootfs","html_url":"https://github.com/rootfs","followers_url":"https://api.github.com/users/rootfs/followers","following_url":"https://api.github.com/users/rootfs/following{/other_user}","gists_url":"https://api.github.com/users/rootfs/gists{/gist_id}","starred_url":"https://api.github.com/users/rootfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootfs/subscriptions","organizations_url":"https://api.github.com/users/rootfs/orgs","repos_url":"https://api.github.com/users/rootfs/repos","events_url":"https://api.github.com/users/rootfs/events{/privacy}","received_events_url":"https://api.github.com/users/rootfs/received_events","type":"User","site_admin":false},"repo":{"id":29694119,"name":"kubernetes","full_name":"rootfs/kubernetes","owner":{"login":"rootfs","id":7062400,"avatar_url":"https://avatars.githubusercontent.com/u/7062400?v=3","gravatar_id":"","url":"https://api.github.com/users/rootfs","html_url":"https://github.com/rootfs","followers_url":"https://api.github.com/users/rootfs/followers","following_url":"https://api.github.com/users/rootfs/following{/other_user}","gists_url":"https://api.github.com/users/rootfs/gists{/gist_id}","starred_url":"https://api.github.com/users/rootfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootfs/subscriptions","organizations_url":"https://api.github.com/users/rootfs/orgs","repos_url":"https://api.github.com/users/rootfs/repos","events_url":"https://api.github.com/users/rootfs/events{/privacy}","received_events_url":"https://api.github.com/users/rootfs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rootfs/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/rootfs/kubernetes","forks_url":"https://api.github.com/repos/rootfs/kubernetes/forks","keys_url":"https://api.github.com/repos/rootfs/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rootfs/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rootfs/kubernetes/teams","hooks_url":"https://api.github.com/repos/rootfs/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/rootfs/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/rootfs/kubernetes/events","assignees_url":"https://api.github.com/repos/rootfs/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/rootfs/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/rootfs/kubernetes/tags","blobs_url":"https://api.github.com/repos/rootfs/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rootfs/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rootfs/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/rootfs/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rootfs/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/rootfs/kubernetes/languages","stargazers_url":"https://api.github.com/repos/rootfs/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/rootfs/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/rootfs/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/rootfs/kubernetes/subscription","commits_url":"https://api.github.com/repos/rootfs/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/rootfs/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/rootfs/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/rootfs/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/rootfs/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/rootfs/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rootfs/kubernetes/merges","archive_url":"https://api.github.com/repos/rootfs/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rootfs/kubernetes/downloads","issues_url":"https://api.github.com/repos/rootfs/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/rootfs/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/rootfs/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/rootfs/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rootfs/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/rootfs/kubernetes/releases{/id}","created_at":"2015-01-22T18:48:37Z","updated_at":"2015-08-11T15:37:33Z","pushed_at":"2015-10-21T17:16:05Z","git_url":"git://github.com/rootfs/kubernetes.git","ssh_url":"git@github.com:rootfs/kubernetes.git","clone_url":"https://github.com/rootfs/kubernetes.git","svn_url":"https://github.com/rootfs/kubernetes","homepage":"http://kubernetes.io","size":117664,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"a5a917603c21217deb166dccac0f6a65f3fb543a","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-10-21T15:24:24Z","pushed_at":"2015-10-21T17:16:06Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":491996,"stargazers_count":10806,"watchers_count":10806,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2746,"mirror_url":null,"open_issues_count":2083,"forks":2746,"open_issues":2083,"watchers":10806,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/16032"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/16032"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/16032/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16032/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/eb757e90877f40b046fbb3408db700ee8ab50567"}}}}