Fix sampling timestamp format of deduced alarms.

It differs from the other entities.

Change-Id: Iabd9df036fa02598ffa03086d15205482fa565a2
This commit is contained in:
Idan Hefetz 2019-09-01 15:05:19 +00:00
parent 405c406d50
commit 95106757f3

View File

@ -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():