Merge "Add a log info message in Stack state_set"
This commit is contained in:
commit
405d8b99f2
|
@ -397,6 +397,11 @@ class Stack(collections.Mapping):
|
||||||
stack.update_and_save({'action': action,
|
stack.update_and_save({'action': action,
|
||||||
'status': status,
|
'status': status,
|
||||||
'status_reason': reason})
|
'status_reason': reason})
|
||||||
|
msg = _('Stack %(action)s %(status)s (%(name)s): %(reason)s')
|
||||||
|
logger.info(msg % {'action': action,
|
||||||
|
'status': status,
|
||||||
|
'name': self.name,
|
||||||
|
'reason': reason})
|
||||||
notification.send(self)
|
notification.send(self)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue