collector exception on record_metering_data
Fixes bug 1033413 Change-Id: I7f5ba8fb32ac21e0e7cb3c83c27e9b41beac4a29
This commit is contained in:
parent
e24300b799
commit
275bb1be6d
@ -102,7 +102,7 @@ class CollectorManager(manager.Manager):
|
||||
# Convert the timestamp to a datetime instance.
|
||||
# Storage engines are responsible for converting
|
||||
# that value to something they can store.
|
||||
if 'timestamp' in data:
|
||||
if data.get('timestamp'):
|
||||
data['timestamp'] = timeutils.parse_isotime(
|
||||
data['timestamp'],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user