{"action":"created","issue":{"url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/issues/46","repository_url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools","labels_url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/issues/46/comments","events_url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/issues/46/events","html_url":"https://github.com/CCI-MOC/moc-openstack-tools/pull/46","id":219759781,"number":46,"title":"fix bug in updating cells","user":{"login":"kamfonik","id":5913173,"avatar_url":"https://avatars0.githubusercontent.com/u/5913173?v=3","gravatar_id":"","url":"https://api.github.com/users/kamfonik","html_url":"https://github.com/kamfonik","followers_url":"https://api.github.com/users/kamfonik/followers","following_url":"https://api.github.com/users/kamfonik/following{/other_user}","gists_url":"https://api.github.com/users/kamfonik/gists{/gist_id}","starred_url":"https://api.github.com/users/kamfonik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamfonik/subscriptions","organizations_url":"https://api.github.com/users/kamfonik/orgs","repos_url":"https://api.github.com/users/kamfonik/repos","events_url":"https://api.github.com/users/kamfonik/events{/privacy}","received_events_url":"https://api.github.com/users/kamfonik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-06T01:17:08Z","updated_at":"2017-04-06T14:40:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/pulls/46","html_url":"https://github.com/CCI-MOC/moc-openstack-tools/pull/46","diff_url":"https://github.com/CCI-MOC/moc-openstack-tools/pull/46.diff","patch_url":"https://github.com/CCI-MOC/moc-openstack-tools/pull/46.patch"},"body":"cronjob script contained some errors:\r\n1. Batched update request was happening inside the for loop, when it should happen just once, oustide.\r\n2. Small changes in request formatting required to make it work properly outside the for loop\r\n3. Google API throws an error if there is no content in the batchUpdate request, so we need to check if there are actually any rows to be updated and skip trying.\r\n\r\nThis is already in production, so hopefully it's good. :-)"},"comment":{"url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/issues/comments/292195495","html_url":"https://github.com/CCI-MOC/moc-openstack-tools/pull/46#issuecomment-292195495","issue_url":"https://api.github.com/repos/CCI-MOC/moc-openstack-tools/issues/46","id":292195495,"user":{"login":"xuhang57","id":7245860,"avatar_url":"https://avatars0.githubusercontent.com/u/7245860?v=3","gravatar_id":"","url":"https://api.github.com/users/xuhang57","html_url":"https://github.com/xuhang57","followers_url":"https://api.github.com/users/xuhang57/followers","following_url":"https://api.github.com/users/xuhang57/following{/other_user}","gists_url":"https://api.github.com/users/xuhang57/gists{/gist_id}","starred_url":"https://api.github.com/users/xuhang57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuhang57/subscriptions","organizations_url":"https://api.github.com/users/xuhang57/orgs","repos_url":"https://api.github.com/users/xuhang57/repos","events_url":"https://api.github.com/users/xuhang57/events{/privacy}","received_events_url":"https://api.github.com/users/xuhang57/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T14:40:04Z","updated_at":"2017-04-06T14:40:04Z","body":"Sorry I just see this. Sure. Don't worry about it 👍 "}}
{"actor":{"display_login":"xuhang57"}}