Merge "Fix sampling timestamp format of deduced alarms."

This commit is contained in:
Zuul 2019-09-03 10:54:27 +00:00 committed by Gerrit Code Review
commit 606e2669ec
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():