storage: remove unused CLI option

Change-Id: I25ba16a9448b2178b748dc8e8c3ca55707e8038c
This commit is contained in:
Julien Danjou 2015-09-01 18:30:20 +02:00
parent 78d5608f09
commit 1e27303f93
2 changed files with 1 additions and 11 deletions

View File

@ -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,

View File

@ -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."""