Merge pull request #27965 from lyft/HOTFIX-boto-asg-fix

Fail in boto_asg.present if alarms fail
This commit is contained in:
Mike Place 2015-10-15 06:32:53 -06:00
commit 7006c37627

View File

@ -567,6 +567,8 @@ def present(
_ret = _alarms_present(name, alarms, alarms_from_pillar, region, key, keyid, profile)
ret['changes'] = dictupdate.update(ret['changes'], _ret['changes'])
ret['comment'] = ' '.join([ret['comment'], _ret['comment']])
if not _ret['result']:
ret['result'] = _ret['result']
return ret