{"action":"created","comment":{"url":"https://api.github.com/repos/docker/swarmkit/pulls/comments/69059128","id":69059128,"diff_hunk":"@@ -51,7 +51,13 @@ Some of *SwarmKit*'s main features are:\n - **Scheduling**\n   - **Resource Awareness**: *SwarmKit* is aware of resources available on nodes and will place tasks accordingly.\n   - **Constraints**: Operators can limit the set of nodes where a task can be scheduled by defining constraint expressions.\n-    Constraints can match various node attributes such as IDs, names and labels (e.g. `node.labels.foo!=bar1`).\n+    Multiple constraints find nodes that satisfy every expression. Constraint can match node attributes including:","path":"README.md","position":5,"original_position":5,"commit_id":"0afac99eb5033b319138fea151ee477505d38c13","original_commit_id":"0afac99eb5033b319138fea151ee477505d38c13","user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"body":"Let's also say it's an AND match - I think that makes it clearer.\r\n\r\ns/Constraint/Constraints/","created_at":"2016-06-30T02:00:12Z","updated_at":"2016-06-30T02:00:12Z","html_url":"https://github.com/docker/swarmkit/pull/893#discussion_r69059128","pull_request_url":"https://api.github.com/repos/docker/swarmkit/pulls/893","_links":{"self":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/comments/69059128"},"html":{"href":"https://github.com/docker/swarmkit/pull/893#discussion_r69059128"},"pull_request":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/893"}}},"pull_request":{"url":"https://api.github.com/repos/docker/swarmkit/pulls/893","id":73270912,"html_url":"https://github.com/docker/swarmkit/pull/893","diff_url":"https://github.com/docker/swarmkit/pull/893.diff","patch_url":"https://github.com/docker/swarmkit/pull/893.patch","issue_url":"https://api.github.com/repos/docker/swarmkit/issues/893","number":893,"state":"open","locked":false,"title":"Constraint fix retry","user":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"body":"Lost repo connection in #846. Repost the PR.","created_at":"2016-06-09T19:23:28Z","updated_at":"2016-06-30T02:00:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6f4f01ad276912ed08c241dcf49a8b470b966b9","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/swarmkit/milestones/4","html_url":"https://github.com/docker/swarmkit/milestones/1.12.0","labels_url":"https://api.github.com/repos/docker/swarmkit/milestones/4/labels","id":1694368,"number":4,"title":"1.12.0","description":"","creator":{"login":"amitshukla","id":6538998,"avatar_url":"https://avatars.githubusercontent.com/u/6538998?v=3","gravatar_id":"","url":"https://api.github.com/users/amitshukla","html_url":"https://github.com/amitshukla","followers_url":"https://api.github.com/users/amitshukla/followers","following_url":"https://api.github.com/users/amitshukla/following{/other_user}","gists_url":"https://api.github.com/users/amitshukla/gists{/gist_id}","starred_url":"https://api.github.com/users/amitshukla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitshukla/subscriptions","organizations_url":"https://api.github.com/users/amitshukla/orgs","repos_url":"https://api.github.com/users/amitshukla/repos","events_url":"https://api.github.com/users/amitshukla/events{/privacy}","received_events_url":"https://api.github.com/users/amitshukla/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":11,"state":"open","created_at":"2016-04-08T19:05:52Z","updated_at":"2016-06-29T23:41:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/docker/swarmkit/pulls/893/commits","review_comments_url":"https://api.github.com/repos/docker/swarmkit/pulls/893/comments","review_comment_url":"https://api.github.com/repos/docker/swarmkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/893/comments","statuses_url":"https://api.github.com/repos/docker/swarmkit/statuses/0afac99eb5033b319138fea151ee477505d38c13","head":{"label":"dongluochen:constraintFixRetry","ref":"constraintFixRetry","sha":"0afac99eb5033b319138fea151ee477505d38c13","user":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"repo":{"id":60799583,"name":"swarmkit","full_name":"dongluochen/swarmkit","owner":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dongluochen/swarmkit","description":"A toolkit for orchestrating distributed systems at any scale. It includes primitives for node discovery, raft-based consensus, task scheduling and more.","fork":true,"url":"https://api.github.com/repos/dongluochen/swarmkit","forks_url":"https://api.github.com/repos/dongluochen/swarmkit/forks","keys_url":"https://api.github.com/repos/dongluochen/swarmkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dongluochen/swarmkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dongluochen/swarmkit/teams","hooks_url":"https://api.github.com/repos/dongluochen/swarmkit/hooks","issue_events_url":"https://api.github.com/repos/dongluochen/swarmkit/issues/events{/number}","events_url":"https://api.github.com/repos/dongluochen/swarmkit/events","assignees_url":"https://api.github.com/repos/dongluochen/swarmkit/assignees{/user}","branches_url":"https://api.github.com/repos/dongluochen/swarmkit/branches{/branch}","tags_url":"https://api.github.com/repos/dongluochen/swarmkit/tags","blobs_url":"https://api.github.com/repos/dongluochen/swarmkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dongluochen/swarmkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dongluochen/swarmkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dongluochen/swarmkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dongluochen/swarmkit/statuses/{sha}","languages_url":"https://api.github.com/repos/dongluochen/swarmkit/languages","stargazers_url":"https://api.github.com/repos/dongluochen/swarmkit/stargazers","contributors_url":"https://api.github.com/repos/dongluochen/swarmkit/contributors","subscribers_url":"https://api.github.com/repos/dongluochen/swarmkit/subscribers","subscription_url":"https://api.github.com/repos/dongluochen/swarmkit/subscription","commits_url":"https://api.github.com/repos/dongluochen/swarmkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dongluochen/swarmkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dongluochen/swarmkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dongluochen/swarmkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dongluochen/swarmkit/contents/{+path}","compare_url":"https://api.github.com/repos/dongluochen/swarmkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dongluochen/swarmkit/merges","archive_url":"https://api.github.com/repos/dongluochen/swarmkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dongluochen/swarmkit/downloads","issues_url":"https://api.github.com/repos/dongluochen/swarmkit/issues{/number}","pulls_url":"https://api.github.com/repos/dongluochen/swarmkit/pulls{/number}","milestones_url":"https://api.github.com/repos/dongluochen/swarmkit/milestones{/number}","notifications_url":"https://api.github.com/repos/dongluochen/swarmkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dongluochen/swarmkit/labels{/name}","releases_url":"https://api.github.com/repos/dongluochen/swarmkit/releases{/id}","deployments_url":"https://api.github.com/repos/dongluochen/swarmkit/deployments","created_at":"2016-06-09T19:01:24Z","updated_at":"2016-06-09T19:01:25Z","pushed_at":"2016-06-29T23:14:08Z","git_url":"git://github.com/dongluochen/swarmkit.git","ssh_url":"git@github.com:dongluochen/swarmkit.git","clone_url":"https://github.com/dongluochen/swarmkit.git","svn_url":"https://github.com/dongluochen/swarmkit","homepage":"","size":8033,"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":"830c3a26519d5c2b448a60ca4aa36c94d72d15c2","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":51556828,"name":"swarmkit","full_name":"docker/swarmkit","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/swarmkit","description":"A toolkit for orchestrating distributed systems at any scale. It includes primitives for node discovery, raft-based consensus, task scheduling and more.","fork":false,"url":"https://api.github.com/repos/docker/swarmkit","forks_url":"https://api.github.com/repos/docker/swarmkit/forks","keys_url":"https://api.github.com/repos/docker/swarmkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/swarmkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/swarmkit/teams","hooks_url":"https://api.github.com/repos/docker/swarmkit/hooks","issue_events_url":"https://api.github.com/repos/docker/swarmkit/issues/events{/number}","events_url":"https://api.github.com/repos/docker/swarmkit/events","assignees_url":"https://api.github.com/repos/docker/swarmkit/assignees{/user}","branches_url":"https://api.github.com/repos/docker/swarmkit/branches{/branch}","tags_url":"https://api.github.com/repos/docker/swarmkit/tags","blobs_url":"https://api.github.com/repos/docker/swarmkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/swarmkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/swarmkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/swarmkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/swarmkit/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/swarmkit/languages","stargazers_url":"https://api.github.com/repos/docker/swarmkit/stargazers","contributors_url":"https://api.github.com/repos/docker/swarmkit/contributors","subscribers_url":"https://api.github.com/repos/docker/swarmkit/subscribers","subscription_url":"https://api.github.com/repos/docker/swarmkit/subscription","commits_url":"https://api.github.com/repos/docker/swarmkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/swarmkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/swarmkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/swarmkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/swarmkit/contents/{+path}","compare_url":"https://api.github.com/repos/docker/swarmkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/swarmkit/merges","archive_url":"https://api.github.com/repos/docker/swarmkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/swarmkit/downloads","issues_url":"https://api.github.com/repos/docker/swarmkit/issues{/number}","pulls_url":"https://api.github.com/repos/docker/swarmkit/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/swarmkit/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/swarmkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/swarmkit/labels{/name}","releases_url":"https://api.github.com/repos/docker/swarmkit/releases{/id}","deployments_url":"https://api.github.com/repos/docker/swarmkit/deployments","created_at":"2016-02-12T00:02:15Z","updated_at":"2016-06-30T00:38:34Z","pushed_at":"2016-06-30T01:22:52Z","git_url":"git://github.com/docker/swarmkit.git","ssh_url":"git@github.com:docker/swarmkit.git","clone_url":"https://github.com/docker/swarmkit.git","svn_url":"https://github.com/docker/swarmkit","homepage":"","size":17850,"stargazers_count":764,"watchers_count":764,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":138,"forks":105,"open_issues":138,"watchers":764,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/893"},"html":{"href":"https://github.com/docker/swarmkit/pull/893"},"issue":{"href":"https://api.github.com/repos/docker/swarmkit/issues/893"},"comments":{"href":"https://api.github.com/repos/docker/swarmkit/issues/893/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/893/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/893/commits"},"statuses":{"href":"https://api.github.com/repos/docker/swarmkit/statuses/0afac99eb5033b319138fea151ee477505d38c13"}}}}
{"actor":{"display_login":"aaronlehmann"}}