Fix sampling timestamp format of deduced alarms.

It differs from the other entities.

Change-Id: Iabd9df036fa02598ffa03086d15205482fa565a2
(cherry picked from commit 95106757f3)
This commit is contained in:
Idan Hefetz 2019-09-01 15:05:19 +00:00 committed by Eyal
parent 2a88ccad59
commit 29d402c934
1 changed files with 1 additions and 1 deletions

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