From 1e27303f931afa714e63332396951dc1755a5f11 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 1 Sep 2015 18:30:20 +0200 Subject: [PATCH] storage: remove unused CLI option Change-Id: I25ba16a9448b2178b748dc8e8c3ca55707e8038c --- aodh/opts.py | 3 +-- aodh/storage/__init__.py | 9 --------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/aodh/opts.py b/aodh/opts.py index 8f7cd7f7f..ec0f395a9 100644 --- a/aodh/opts.py +++ b/aodh/opts.py @@ -39,8 +39,7 @@ def list_opts(): aodh.notifier.rest.OPTS, aodh.service.OPTS, aodh.rpc.OPTS, - aodh.api.controllers.v2.alarms.ALARM_API_OPTS, - aodh.storage.CLI_OPTS)), + aodh.api.controllers.v2.alarms.ALARM_API_OPTS)), ('api', itertools.chain( aodh.api.OPTS, diff --git a/aodh/storage/__init__.py b/aodh/storage/__init__.py index 729d20fab..61eb80459 100644 --- a/aodh/storage/__init__.py +++ b/aodh/storage/__init__.py @@ -42,15 +42,6 @@ OPTS = [ 'to the alarm database - rather use ${database.connection}'), ] -CLI_OPTS = [ - cfg.BoolOpt('sql-expire-samples-only', - default=False, - help="Indicates if expirer expires only samples. If set true," - " expired samples will be deleted, but residual" - " resource and meter definition data will remain.", - ), -] - class StorageUnknownWriteError(Exception): """Error raised when an unknown error occurs while recording."""