{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/27076456","id":27076456,"diff_hunk":"@@ -445,8 +445,8 @@ func (daemon *Daemon) setupResolvconfWatcher() error {\n \t\t\tselect {\n \t\t\tcase event := <-watcher.Events:\n \t\t\t\tif event.Name == \"/etc/resolv.conf\" &&\n-\t\t\t\t\t(event.Op&fsnotify.Write == fsnotify.Write ||\n-\t\t\t\t\t\tevent.Op&fsnotify.Create == fsnotify.Create) {\n+\t\t\t\t\t(event.Op&fsnotify.Write != 0 ||\n+\t\t\t\t\t\tevent.Op&fsnotify.Create != 0) {","path":"daemon/daemon.go","position":7,"original_position":7,"commit_id":"e3b436a2b2e6208519ee698dc45bea6adb8194da","original_commit_id":"e3b436a2b2e6208519ee698dc45bea6adb8194da","user":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"body":"these two can be put into one:\r\n`event.Op & fsnotify.Write & fsnotify.Create != 0`\r\n\r\n@LK4D4 please confirm","created_at":"2015-03-24T21:43:18Z","updated_at":"2015-03-24T21:43:18Z","html_url":"https://github.com/docker/docker/pull/11702#discussion_r27076456","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/11702","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/27076456"},"html":{"href":"https://github.com/docker/docker/pull/11702#discussion_r27076456"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/11702"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/11702","id":31806695,"html_url":"https://github.com/docker/docker/pull/11702","diff_url":"https://github.com/docker/docker/pull/11702.diff","patch_url":"https://github.com/docker/docker/pull/11702.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/11702","number":11702,"state":"open","locked":false,"title":"Feature/bitflag checking style 11668","user":{"login":"jimmypuckett","id":3220069,"avatar_url":"https://avatars.githubusercontent.com/u/3220069?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmypuckett","html_url":"https://github.com/jimmypuckett","followers_url":"https://api.github.com/users/jimmypuckett/followers","following_url":"https://api.github.com/users/jimmypuckett/following{/other_user}","gists_url":"https://api.github.com/users/jimmypuckett/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmypuckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmypuckett/subscriptions","organizations_url":"https://api.github.com/users/jimmypuckett/orgs","repos_url":"https://api.github.com/users/jimmypuckett/repos","events_url":"https://api.github.com/users/jimmypuckett/events{/privacy}","received_events_url":"https://api.github.com/users/jimmypuckett/received_events","type":"User","site_admin":false},"body":"Replaced the occurrences of \"Mask&flag == flag\" with \"Mask&flag != 0\"","created_at":"2015-03-24T08:53:04Z","updated_at":"2015-03-24T21:43:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0695746b0de5dd45a38ef90d9b101f892d23d196","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/11702/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/11702/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/11702/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/e3b436a2b2e6208519ee698dc45bea6adb8194da","head":{"label":"jimmypuckett:feature/bitflag_checking_style_11668","ref":"feature/bitflag_checking_style_11668","sha":"e3b436a2b2e6208519ee698dc45bea6adb8194da","user":{"login":"jimmypuckett","id":3220069,"avatar_url":"https://avatars.githubusercontent.com/u/3220069?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmypuckett","html_url":"https://github.com/jimmypuckett","followers_url":"https://api.github.com/users/jimmypuckett/followers","following_url":"https://api.github.com/users/jimmypuckett/following{/other_user}","gists_url":"https://api.github.com/users/jimmypuckett/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmypuckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmypuckett/subscriptions","organizations_url":"https://api.github.com/users/jimmypuckett/orgs","repos_url":"https://api.github.com/users/jimmypuckett/repos","events_url":"https://api.github.com/users/jimmypuckett/events{/privacy}","received_events_url":"https://api.github.com/users/jimmypuckett/received_events","type":"User","site_admin":false},"repo":{"id":32763064,"name":"docker","full_name":"jimmypuckett/docker","owner":{"login":"jimmypuckett","id":3220069,"avatar_url":"https://avatars.githubusercontent.com/u/3220069?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmypuckett","html_url":"https://github.com/jimmypuckett","followers_url":"https://api.github.com/users/jimmypuckett/followers","following_url":"https://api.github.com/users/jimmypuckett/following{/other_user}","gists_url":"https://api.github.com/users/jimmypuckett/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmypuckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmypuckett/subscriptions","organizations_url":"https://api.github.com/users/jimmypuckett/orgs","repos_url":"https://api.github.com/users/jimmypuckett/repos","events_url":"https://api.github.com/users/jimmypuckett/events{/privacy}","received_events_url":"https://api.github.com/users/jimmypuckett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmypuckett/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/jimmypuckett/docker","forks_url":"https://api.github.com/repos/jimmypuckett/docker/forks","keys_url":"https://api.github.com/repos/jimmypuckett/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmypuckett/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmypuckett/docker/teams","hooks_url":"https://api.github.com/repos/jimmypuckett/docker/hooks","issue_events_url":"https://api.github.com/repos/jimmypuckett/docker/issues/events{/number}","events_url":"https://api.github.com/repos/jimmypuckett/docker/events","assignees_url":"https://api.github.com/repos/jimmypuckett/docker/assignees{/user}","branches_url":"https://api.github.com/repos/jimmypuckett/docker/branches{/branch}","tags_url":"https://api.github.com/repos/jimmypuckett/docker/tags","blobs_url":"https://api.github.com/repos/jimmypuckett/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmypuckett/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmypuckett/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmypuckett/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmypuckett/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmypuckett/docker/languages","stargazers_url":"https://api.github.com/repos/jimmypuckett/docker/stargazers","contributors_url":"https://api.github.com/repos/jimmypuckett/docker/contributors","subscribers_url":"https://api.github.com/repos/jimmypuckett/docker/subscribers","subscription_url":"https://api.github.com/repos/jimmypuckett/docker/subscription","commits_url":"https://api.github.com/repos/jimmypuckett/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmypuckett/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmypuckett/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmypuckett/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmypuckett/docker/contents/{+path}","compare_url":"https://api.github.com/repos/jimmypuckett/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmypuckett/docker/merges","archive_url":"https://api.github.com/repos/jimmypuckett/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmypuckett/docker/downloads","issues_url":"https://api.github.com/repos/jimmypuckett/docker/issues{/number}","pulls_url":"https://api.github.com/repos/jimmypuckett/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmypuckett/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmypuckett/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmypuckett/docker/labels{/name}","releases_url":"https://api.github.com/repos/jimmypuckett/docker/releases{/id}","created_at":"2015-03-23T22:44:48Z","updated_at":"2015-03-23T22:44:56Z","pushed_at":"2015-03-24T08:51:13Z","git_url":"git://github.com/jimmypuckett/docker.git","ssh_url":"git@github.com:jimmypuckett/docker.git","clone_url":"https://github.com/jimmypuckett/docker.git","svn_url":"https://github.com/jimmypuckett/docker","homepage":"http://www.docker.com","size":46312,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"docker:master","ref":"master","sha":"617f18b0011b45a9ef71d4adb45b3ca45132e1e6","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-03-24T21:43:10Z","pushed_at":"2015-03-24T21:43:10Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":158073,"stargazers_count":20155,"watchers_count":20155,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4349,"mirror_url":null,"open_issues_count":870,"forks":4349,"open_issues":870,"watchers":20155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/11702"},"html":{"href":"https://github.com/docker/docker/pull/11702"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/11702"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/11702/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/11702/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/11702/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/e3b436a2b2e6208519ee698dc45bea6adb8194da"}}}}