Fix incorrect auto trigger flag
'watcher audit list' returns a incorrect auto trigger flag auto_trigger field is incorrectly unset to False Change-Id: Iba4a0bda1acf18cbfde6f1dcdb0985a4c3f7b5bb Closes-Bug: #1662051
This commit is contained in:
@@ -294,7 +294,7 @@ class Audit(base.APIBase):
|
||||
audit.unset_fields_except(['uuid', 'audit_type', 'state',
|
||||
'goal_uuid', 'interval', 'scope',
|
||||
'strategy_uuid', 'goal_name',
|
||||
'strategy_name'])
|
||||
'strategy_name', 'auto_trigger'])
|
||||
|
||||
audit.links = [link.Link.make_link('self', url,
|
||||
'audits', audit.uuid),
|
||||
|
||||
Reference in New Issue
Block a user