Fix API change in make_test_data.py
Change-Id: I8fa874b4ae5fe189b52f87bb55acbc8463bf8872 Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f2aee4b75d
commit
898016cbde
@ -123,7 +123,7 @@ def main():
|
|||||||
timestamp=timestamp,
|
timestamp=timestamp,
|
||||||
resource_metadata={},
|
resource_metadata={},
|
||||||
)
|
)
|
||||||
data = meter.meter_message_from_counter(c)
|
data = meter.meter_message_from_counter(c, cfg.CONF.metering_secret)
|
||||||
conn.record_metering_data(data)
|
conn.record_metering_data(data)
|
||||||
n += 1
|
n += 1
|
||||||
timestamp = timestamp + increment
|
timestamp = timestamp + increment
|
||||||
|
Loading…
Reference in New Issue
Block a user