summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/test_hbase_table_utils.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/test_hbase_table_utils.py b/tools/test_hbase_table_utils.py
index 5ecc49ad..92dc674f 100644
--- a/tools/test_hbase_table_utils.py
+++ b/tools/test_hbase_table_utils.py
@@ -1,4 +1,4 @@
- # Licensed under the Apache License, Version 2.0 (the "License"); you may
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
@@ -25,14 +25,17 @@ def main(argv):
os.getenv("CEILOMETER_TEST_HBASE_TABLE_PREFIX", "test")))
conn = storage.get_connection(url, 'ceilometer.metering.storage')
alarm_conn = storage.get_connection(url, 'ceilometer.alarm.storage')
+ event_conn = storage.get_connection(url, 'ceilometer.event.storage')
for arg in argv:
if arg == "--upgrade":
conn.upgrade()
alarm_conn.upgrade()
+ event_conn.upgrade()
if arg == "--clear":
conn.clear()
alarm_conn.clear()
+ event_conn.clear()
if __name__ == '__main__':
- main(sys.argv[1:]) \ No newline at end of file
+ main(sys.argv[1:])