From b5d02e6739e620e197b37753fa18ed4b7b40dc6c Mon Sep 17 00:00:00 2001 From: liusheng Date: Fri, 25 Dec 2015 09:27:09 +0800 Subject: [PATCH] Fix an minor error in test_hbase_table_utils.py Change-Id: I707914abb4cf94ea47aeb46be32659c4d111b58b --- tools/test_hbase_table_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_hbase_table_utils.py b/tools/test_hbase_table_utils.py index ed7780d70..60babb2d3 100644 --- a/tools/test_hbase_table_utils.py +++ b/tools/test_hbase_table_utils.py @@ -25,7 +25,7 @@ def main(argv): (os.getenv("AODH_TEST_STORAGE_URL"), os.getenv("AODH_TEST_HBASE_TABLE_PREFIX", "test"))) cfg.CONF.set_override("connection", url, group="database") - alarm_conn = storage.get_connection_from_conf(cfg.CONF) + alarm_conn = storage.get_connection_from_config(cfg.CONF) for arg in argv: if arg == "--upgrade": alarm_conn.upgrade()