{"action":"opened","number":22111,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/22111","id":32156616,"html_url":"https://github.com/saltstack/salt/pull/22111","diff_url":"https://github.com/saltstack/salt/pull/22111.diff","patch_url":"https://github.com/saltstack/salt/pull/22111.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/22111","number":22111,"state":"open","locked":false,"title":"Set rows for dashboards","user":{"login":"mnguyen1289","id":6710758,"avatar_url":"https://avatars.githubusercontent.com/u/6710758?v=3","gravatar_id":"","url":"https://api.github.com/users/mnguyen1289","html_url":"https://github.com/mnguyen1289","followers_url":"https://api.github.com/users/mnguyen1289/followers","following_url":"https://api.github.com/users/mnguyen1289/following{/other_user}","gists_url":"https://api.github.com/users/mnguyen1289/gists{/gist_id}","starred_url":"https://api.github.com/users/mnguyen1289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnguyen1289/subscriptions","organizations_url":"https://api.github.com/users/mnguyen1289/orgs","repos_url":"https://api.github.com/users/mnguyen1289/repos","events_url":"https://api.github.com/users/mnguyen1289/events{/privacy}","received_events_url":"https://api.github.com/users/mnguyen1289/received_events","type":"User","site_admin":false},"body":"Currently if users don't set the 'rows' key when defining their own dashboard dictionary in a state file, the grafana state will just bomb out.  The use case for this is for when a user defines their own dashboard and rows dictionary in the state file.  It's pretty likely that in this case, the user might forget to also set a 'rows' key with a empty list as its value.\r\n\r\nThis fix ensures that even if the user doesn't set a 'rows' key in the dashboard dictionary, it'll automatically create it for them.","created_at":"2015-03-28T01:14:48Z","updated_at":"2015-03-28T01:14:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/22111/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/22111/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22111/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/b0ea0bc8acaa34d48367a12f78e06ed9cadc9288","head":{"label":"mnguyen1289:set_rows_for_dashboards","ref":"set_rows_for_dashboards","sha":"b0ea0bc8acaa34d48367a12f78e06ed9cadc9288","user":{"login":"mnguyen1289","id":6710758,"avatar_url":"https://avatars.githubusercontent.com/u/6710758?v=3","gravatar_id":"","url":"https://api.github.com/users/mnguyen1289","html_url":"https://github.com/mnguyen1289","followers_url":"https://api.github.com/users/mnguyen1289/followers","following_url":"https://api.github.com/users/mnguyen1289/following{/other_user}","gists_url":"https://api.github.com/users/mnguyen1289/gists{/gist_id}","starred_url":"https://api.github.com/users/mnguyen1289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnguyen1289/subscriptions","organizations_url":"https://api.github.com/users/mnguyen1289/orgs","repos_url":"https://api.github.com/users/mnguyen1289/repos","events_url":"https://api.github.com/users/mnguyen1289/events{/privacy}","received_events_url":"https://api.github.com/users/mnguyen1289/received_events","type":"User","site_admin":false},"repo":{"id":31444459,"name":"salt","full_name":"mnguyen1289/salt","owner":{"login":"mnguyen1289","id":6710758,"avatar_url":"https://avatars.githubusercontent.com/u/6710758?v=3","gravatar_id":"","url":"https://api.github.com/users/mnguyen1289","html_url":"https://github.com/mnguyen1289","followers_url":"https://api.github.com/users/mnguyen1289/followers","following_url":"https://api.github.com/users/mnguyen1289/following{/other_user}","gists_url":"https://api.github.com/users/mnguyen1289/gists{/gist_id}","starred_url":"https://api.github.com/users/mnguyen1289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnguyen1289/subscriptions","organizations_url":"https://api.github.com/users/mnguyen1289/orgs","repos_url":"https://api.github.com/users/mnguyen1289/repos","events_url":"https://api.github.com/users/mnguyen1289/events{/privacy}","received_events_url":"https://api.github.com/users/mnguyen1289/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mnguyen1289/salt","description":"Infrastructure automation and management system","fork":true,"url":"https://api.github.com/repos/mnguyen1289/salt","forks_url":"https://api.github.com/repos/mnguyen1289/salt/forks","keys_url":"https://api.github.com/repos/mnguyen1289/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mnguyen1289/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mnguyen1289/salt/teams","hooks_url":"https://api.github.com/repos/mnguyen1289/salt/hooks","issue_events_url":"https://api.github.com/repos/mnguyen1289/salt/issues/events{/number}","events_url":"https://api.github.com/repos/mnguyen1289/salt/events","assignees_url":"https://api.github.com/repos/mnguyen1289/salt/assignees{/user}","branches_url":"https://api.github.com/repos/mnguyen1289/salt/branches{/branch}","tags_url":"https://api.github.com/repos/mnguyen1289/salt/tags","blobs_url":"https://api.github.com/repos/mnguyen1289/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mnguyen1289/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mnguyen1289/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/mnguyen1289/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mnguyen1289/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/mnguyen1289/salt/languages","stargazers_url":"https://api.github.com/repos/mnguyen1289/salt/stargazers","contributors_url":"https://api.github.com/repos/mnguyen1289/salt/contributors","subscribers_url":"https://api.github.com/repos/mnguyen1289/salt/subscribers","subscription_url":"https://api.github.com/repos/mnguyen1289/salt/subscription","commits_url":"https://api.github.com/repos/mnguyen1289/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/mnguyen1289/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/mnguyen1289/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/mnguyen1289/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/mnguyen1289/salt/contents/{+path}","compare_url":"https://api.github.com/repos/mnguyen1289/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mnguyen1289/salt/merges","archive_url":"https://api.github.com/repos/mnguyen1289/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mnguyen1289/salt/downloads","issues_url":"https://api.github.com/repos/mnguyen1289/salt/issues{/number}","pulls_url":"https://api.github.com/repos/mnguyen1289/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/mnguyen1289/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/mnguyen1289/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mnguyen1289/salt/labels{/name}","releases_url":"https://api.github.com/repos/mnguyen1289/salt/releases{/id}","created_at":"2015-02-27T23:52:36Z","updated_at":"2015-02-27T23:52:45Z","pushed_at":"2015-03-28T01:10:47Z","git_url":"git://github.com/mnguyen1289/salt.git","ssh_url":"git@github.com:mnguyen1289/salt.git","clone_url":"https://github.com/mnguyen1289/salt.git","svn_url":"https://github.com/mnguyen1289/salt","homepage":"saltstack.com","size":85761,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"saltstack:develop","ref":"develop","sha":"3125264786ed2bfef2a888b6a9ff4b9d2b849508","user":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"repo":{"id":1390248,"name":"salt","full_name":"saltstack/salt","owner":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack/salt","description":"Infrastructure automation and management system","fork":false,"url":"https://api.github.com/repos/saltstack/salt","forks_url":"https://api.github.com/repos/saltstack/salt/forks","keys_url":"https://api.github.com/repos/saltstack/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack/salt/teams","hooks_url":"https://api.github.com/repos/saltstack/salt/hooks","issue_events_url":"https://api.github.com/repos/saltstack/salt/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack/salt/events","assignees_url":"https://api.github.com/repos/saltstack/salt/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack/salt/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack/salt/tags","blobs_url":"https://api.github.com/repos/saltstack/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack/salt/languages","stargazers_url":"https://api.github.com/repos/saltstack/salt/stargazers","contributors_url":"https://api.github.com/repos/saltstack/salt/contributors","subscribers_url":"https://api.github.com/repos/saltstack/salt/subscribers","subscription_url":"https://api.github.com/repos/saltstack/salt/subscription","commits_url":"https://api.github.com/repos/saltstack/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack/salt/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack/salt/merges","archive_url":"https://api.github.com/repos/saltstack/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack/salt/downloads","issues_url":"https://api.github.com/repos/saltstack/salt/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack/salt/labels{/name}","releases_url":"https://api.github.com/repos/saltstack/salt/releases{/id}","created_at":"2011-02-20T20:16:56Z","updated_at":"2015-03-27T22:06:13Z","pushed_at":"2015-03-28T00:18:01Z","git_url":"git://github.com/saltstack/salt.git","ssh_url":"git@github.com:saltstack/salt.git","clone_url":"https://github.com/saltstack/salt.git","svn_url":"https://github.com/saltstack/salt","homepage":"saltstack.com","size":199983,"stargazers_count":4891,"watchers_count":4891,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2033,"mirror_url":null,"open_issues_count":2415,"forks":2033,"open_issues":2415,"watchers":4891,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/22111"},"html":{"href":"https://github.com/saltstack/salt/pull/22111"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/22111"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/22111/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/22111/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/22111/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/b0ea0bc8acaa34d48367a12f78e06ed9cadc9288"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":132,"additions":2944,"deletions":841,"changed_files":49}}