Fix API change in make_test_data.py

Change-Id: I8fa874b4ae5fe189b52f87bb55acbc8463bf8872
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2012-10-11 17:44:51 +02:00
parent f2aee4b75d
commit 898016cbde

View File

@ -123,7 +123,7 @@ def main():
timestamp=timestamp,
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)
n += 1
timestamp = timestamp + increment