nagios transformer - bug fixed

Change-Id: I97ec6042ad43af93bb44c327354298205ffd8459
This commit is contained in:
Liat Har-Tal 2016-02-15 10:41:13 +00:00
parent 190e4a3087
commit 210926886a

View File

@ -66,7 +66,7 @@ class NagiosTransformer(tbase.TransformerBase):
vitrage_id = self.extract_key(entity_event)
timestamp = datetime_utils.change_time_str_format(
entity_event[self.TIMESTAMP],
entity_event[NagiosProperties.LAST_CHECK],
'%Y-%m-%d %H:%M:%S',
tbase.TIMESTAMP_FORMAT)