fix tools/make_test_event_data.py
ceilometer.event.storage.models.Event requires 6 arguments to initialze, but tools/make_test_event_data.py only provides 5 arguments, so it is broken now. The missing field is 'raw', which can be safely set to {}. Change-Id: I4bec3ff66ab9fbec9306be2f1cb0095d148d80fb Closes-Bug: #1506976
This commit is contained in:
parent
1768d8defb
commit
939cb080a1
@ -60,7 +60,8 @@ def make_test_data(conn, start, end, interval, event_types):
|
||||
data.append(models.Event(str(uuid.uuid4()),
|
||||
'event_type%d' % i,
|
||||
timestamp,
|
||||
traits))
|
||||
traits,
|
||||
{}))
|
||||
n += 1
|
||||
conn.record_events(data)
|
||||
timestamp = timestamp + increment
|
||||
|
Loading…
Reference in New Issue
Block a user