{"action":"created","issue":{"url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/issues/30","repository_url":"https://api.github.com/repos/markcaudill/haproxy-autoscale","labels_url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/issues/30/comments","events_url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/issues/30/events","html_url":"https://github.com/markcaudill/haproxy-autoscale/pull/30","id":242659970,"number":30,"title":"Adding Safe Mode","user":{"login":"IronCore864","id":19277614,"avatar_url":"https://avatars0.githubusercontent.com/u/19277614?v=4","gravatar_id":"","url":"https://api.github.com/users/IronCore864","html_url":"https://github.com/IronCore864","followers_url":"https://api.github.com/users/IronCore864/followers","following_url":"https://api.github.com/users/IronCore864/following{/other_user}","gists_url":"https://api.github.com/users/IronCore864/gists{/gist_id}","starred_url":"https://api.github.com/users/IronCore864/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronCore864/subscriptions","organizations_url":"https://api.github.com/users/IronCore864/orgs","repos_url":"https://api.github.com/users/IronCore864/repos","events_url":"https://api.github.com/users/IronCore864/events{/privacy}","received_events_url":"https://api.github.com/users/IronCore864/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-13T10:44:56Z","updated_at":"2017-07-14T06:54:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/pulls/30","html_url":"https://github.com/markcaudill/haproxy-autoscale/pull/30","diff_url":"https://github.com/markcaudill/haproxy-autoscale/pull/30.diff","patch_url":"https://github.com/markcaudill/haproxy-autoscale/pull/30.patch"},"body":"Changes:\r\n\r\n- Add a `--safe-mode` boolean option\r\n  - If enabled, script exits on aws exception/error. E.g., wrong key/secret would exit directly without generating new config file.\r\n  - Also, checks the instance list in each security grouop. If at least one of the security groups is empty, i.e., no instance in one or more security groups, new haproxy config will be generated, but not relaoded.\r\n  - Default `False` so backward compatible.\r\n- Add timestamp into logs, and redirect logs to STDOUT.\r\nIn this case if you pipe the output to other command like `grep`, it works.\r\n- PEP8 reformat.\r\n- Add .idea folder into .gitignore, which is used by pycharm"},"comment":{"url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/issues/comments/315285757","html_url":"https://github.com/markcaudill/haproxy-autoscale/pull/30#issuecomment-315285757","issue_url":"https://api.github.com/repos/markcaudill/haproxy-autoscale/issues/30","id":315285757,"user":{"login":"IronCore864","id":19277614,"avatar_url":"https://avatars0.githubusercontent.com/u/19277614?v=4","gravatar_id":"","url":"https://api.github.com/users/IronCore864","html_url":"https://github.com/IronCore864","followers_url":"https://api.github.com/users/IronCore864/followers","following_url":"https://api.github.com/users/IronCore864/following{/other_user}","gists_url":"https://api.github.com/users/IronCore864/gists{/gist_id}","starred_url":"https://api.github.com/users/IronCore864/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronCore864/subscriptions","organizations_url":"https://api.github.com/users/IronCore864/orgs","repos_url":"https://api.github.com/users/IronCore864/repos","events_url":"https://api.github.com/users/IronCore864/events{/privacy}","received_events_url":"https://api.github.com/users/IronCore864/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T06:54:52Z","updated_at":"2017-07-14T06:54:52Z","body":"Version updated.\r\nAlso update the changelog in the readme to make it the same as the version."}}
{"actor":{"display_login":"IronCore864"}}