{"action":"created","issue":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/245","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/245/comments","events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/245/events","html_url":"https://github.com/CloudSlang/cloud-slang-content/issues/245","id":94207565,"number":245,"title":"SSH return code doesn't return expected exit code","user":{"login":"orius123","id":4418018,"avatar_url":"https://avatars.githubusercontent.com/u/4418018?v=3","gravatar_id":"","url":"https://api.github.com/users/orius123","html_url":"https://github.com/orius123","followers_url":"https://api.github.com/users/orius123/followers","following_url":"https://api.github.com/users/orius123/following{/other_user}","gists_url":"https://api.github.com/users/orius123/gists{/gist_id}","starred_url":"https://api.github.com/users/orius123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orius123/subscriptions","organizations_url":"https://api.github.com/users/orius123/orgs","repos_url":"https://api.github.com/users/orius123/repos","events_url":"https://api.github.com/users/orius123/events{/privacy}","received_events_url":"https://api.github.com/users/orius123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels/P0","name":"P0","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"Bonczidai","id":8058961,"avatar_url":"https://avatars.githubusercontent.com/u/8058961?v=3","gravatar_id":"","url":"https://api.github.com/users/Bonczidai","html_url":"https://github.com/Bonczidai","followers_url":"https://api.github.com/users/Bonczidai/followers","following_url":"https://api.github.com/users/Bonczidai/following{/other_user}","gists_url":"https://api.github.com/users/Bonczidai/gists{/gist_id}","starred_url":"https://api.github.com/users/Bonczidai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bonczidai/subscriptions","organizations_url":"https://api.github.com/users/Bonczidai/orgs","repos_url":"https://api.github.com/users/Bonczidai/repos","events_url":"https://api.github.com/users/Bonczidai/events{/privacy}","received_events_url":"https://api.github.com/users/Bonczidai/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/8","html_url":"https://github.com/CloudSlang/cloud-slang-content/milestones/0.8%20-%20sprint%207","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/8/labels","id":1115263,"number":8,"title":"0.8 - sprint 7","description":"","creator":{"login":"oritstone","id":7547370,"avatar_url":"https://avatars.githubusercontent.com/u/7547370?v=3","gravatar_id":"","url":"https://api.github.com/users/oritstone","html_url":"https://github.com/oritstone","followers_url":"https://api.github.com/users/oritstone/followers","following_url":"https://api.github.com/users/oritstone/following{/other_user}","gists_url":"https://api.github.com/users/oritstone/gists{/gist_id}","starred_url":"https://api.github.com/users/oritstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oritstone/subscriptions","organizations_url":"https://api.github.com/users/oritstone/orgs","repos_url":"https://api.github.com/users/oritstone/repos","events_url":"https://api.github.com/users/oritstone/events{/privacy}","received_events_url":"https://api.github.com/users/oritstone/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":2,"state":"open","created_at":"2015-05-18T10:04:31Z","updated_at":"2015-07-14T07:42:26Z","due_on":"2015-07-23T21:00:00Z","closed_at":null},"comments":4,"created_at":"2015-07-10T03:58:21Z","updated_at":"2015-07-14T10:40:45Z","closed_at":null,"body":"by @lirantal \r\n>I changed the ```restart_service``` flow to use the return_code that the SSH command from the imported script exposes:\r\n![image](https://cloud.githubusercontent.com/assets/316371/8599721/cab5fa44-266a-11e5-8e6e-7f75e9e3afaa.png)\r\n\r\nThen I ran the flow with arguments that I know will make it fail:\r\n![image](https://cloud.githubusercontent.com/assets/316371/8599770/062af890-266b-11e5-8b78-237b6bed9e5e.png)\r\n\r\nAs you can see return_code is 0 even though the flow failed.\r\nAm I doing something wrong with the return_code usage in the flow or is that an actual defect?\r\n"},"comment":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/comments/121197207","html_url":"https://github.com/CloudSlang/cloud-slang-content/issues/245#issuecomment-121197207","issue_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/245","id":121197207,"user":{"login":"meirwah","id":6059211,"avatar_url":"https://avatars.githubusercontent.com/u/6059211?v=3","gravatar_id":"","url":"https://api.github.com/users/meirwah","html_url":"https://github.com/meirwah","followers_url":"https://api.github.com/users/meirwah/followers","following_url":"https://api.github.com/users/meirwah/following{/other_user}","gists_url":"https://api.github.com/users/meirwah/gists{/gist_id}","starred_url":"https://api.github.com/users/meirwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meirwah/subscriptions","organizations_url":"https://api.github.com/users/meirwah/orgs","repos_url":"https://api.github.com/users/meirwah/repos","events_url":"https://api.github.com/users/meirwah/events{/privacy}","received_events_url":"https://api.github.com/users/meirwah/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T10:40:45Z","updated_at":"2015-07-14T10:40:45Z","body":"Is this the same as in OO actions?\r\n"}}