Fix sampling timestamp format of deduced alarms.
It differs from the other entities. Change-Id: Iabd9df036fa02598ffa03086d15205482fa565a2
This commit is contained in:
parent
405c406d50
commit
95106757f3
@ -148,7 +148,7 @@ class ActionExecutor(object):
|
||||
event[DSProps.DATASOURCE_ACTION] = AType.UPDATE
|
||||
event[DSProps.ENTITY_TYPE] = VITRAGE_DATASOURCE
|
||||
event[VProps.UPDATE_TIMESTAMP] = str(datetime_utils.utcnow(False))
|
||||
event[VProps.VITRAGE_SAMPLE_TIMESTAMP] = str(datetime_utils.utcnow())
|
||||
event[VProps.VITRAGE_SAMPLE_TIMESTAMP] = datetime_utils.format_utcnow()
|
||||
|
||||
@staticmethod
|
||||
def _register_action_recipes():
|
||||
|
Loading…
Reference in New Issue
Block a user