{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38443","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38443/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38443/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38443/events","html_url":"https://github.com/kubernetes/kubernetes/pull/38443","id":194517112,"number":38443,"title":"fix GetVolumeInUse() function","user":{"login":"NickrenREN","id":6104418,"avatar_url":"https://avatars.githubusercontent.com/u/6104418?v=3","gravatar_id":"","url":"https://api.github.com/users/NickrenREN","html_url":"https://github.com/NickrenREN","followers_url":"https://api.github.com/users/NickrenREN/followers","following_url":"https://api.github.com/users/NickrenREN/following{/other_user}","gists_url":"https://api.github.com/users/NickrenREN/gists{/gist_id}","starred_url":"https://api.github.com/users/NickrenREN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickrenREN/subscriptions","organizations_url":"https://api.github.com/users/NickrenREN/orgs","repos_url":"https://api.github.com/users/NickrenREN/repos","events_url":"https://api.github.com/users/NickrenREN/events{/privacy}","received_events_url":"https://api.github.com/users/NickrenREN/received_events","type":"User","site_admin":false},"labels":[{"id":477397086,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":148225179,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lgtm","name":"lgtm","color":"15dd18","default":false},{"id":349530192,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64","default":false},{"id":253450793,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XS","name":"size/XS","color":"009900","default":false}],"state":"open","locked":false,"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},"assignees":[{"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,"comments":8,"created_at":"2016-12-09T05:27:05Z","updated_at":"2017-01-31T00:14:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/38443","html_url":"https://github.com/kubernetes/kubernetes/pull/38443","diff_url":"https://github.com/kubernetes/kubernetes/pull/38443.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/38443.patch"},"body":"\r\nSince we just want to get volume name info, each volume name just need to added once.  desiredStateOfWorld.GetVolumesToMount() will return volume and pod binding info,\r\nif one volume is mounted to several pods, the volume name will be return several times. That is not what we want in this function.\r\nWe can add a new function to only get the volume name info  or judge whether the volume name is added to the desiredVolumesMap array."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/276234385","html_url":"https://github.com/kubernetes/kubernetes/pull/38443#issuecomment-276234385","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38443","id":276234385,"user":{"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},"created_at":"2017-01-31T00:14:57Z","updated_at":"2017-01-31T00:14:57Z","body":"/lgtm"}}
{"actor":{"display_login":"saad-ali"}}