diff options
author | KIYOHIRO ADACHI <adachi@mxs.nes.nec.co.jp> | 2014-02-28 14:43:31 +0900 |
---|---|---|
committer | KIYOHIRO ADACHI <adachi@mxs.nes.nec.co.jp> | 2014-03-03 14:54:39 +0900 |
commit | 506438b92f0afd729d5a49be4d5466aca15febba (patch) | |
tree | 84fcfde8fcba7e885d1a1336ceeb2248f7e84be2 /trove/backup | |
parent | 8f200b73719b36a7ab2f8d651e46a8b6b55c9a77 (diff) | |
download | trove-506438b92f0afd729d5a49be4d5466aca15febba.tar.gz |
Remove unused variables
o trove/backup/models.py:SWIFT_CONTAINER = CONF.backup_swift_container
This variable was added in the following commit.
commit ce208d6cabba227576f492e7647d9da5a89e7c25
Author: ruiyuan-shen <ruiyuan.shen@hp.com>
Date: Mon Mar 18 14:07:37 2013 -0700
Add snapshot ORM to reddwarf
But there is no evidence that was used.
o trove/dns/rsdns/driver.py:DNS_HOSTNAME = CONF.dns_hostname
This variable was added in the following commit.
commit 0c34c75dc44876245709987a18ea004607fca815
Author: Sudarshan Acharya <sudarshan.acharya@rackspace.com>
Date: Fri May 18 15:49:12 2012 -0500
DNS Support for Instance IP.
But there is no evidence that was used.
o trove/instance/models.py:SERVER_INVALID_ACTION_STATUSES
= ["BUILD", "REBOOT", "REBUILD", "RESIZE"]
This variable was removed in the following commit.
commit 54a4ada785fd90af5134e7f38360938e0b435696
Author: Ed Cranford <ed.cranford@rackspace.com>
Date: Thu Jul 12 15:01:01 2012 -0500
Delete can now delete errored instances.
o trove/instance/models.py:VALID_ACTION_STATUSES = ["ACTIVE"]
This variable was removed in the following commit.
commit 9ccef6fea42454bb22c0d67bd4d2a0765f13d370
Author: Tim Simpson <tim.simpson@rackspace.com>
Date: Wed Jun 27 11:12:28 2012 -0500
Allowing resizes to be performed when MySQL is down.
Closes-Bug: #1286990
Change-Id: I79f5bb124f2702317d8d337c969c9ff8ea69a769
Diffstat (limited to 'trove/backup')
-rw-r--r-- | trove/backup/models.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/trove/backup/models.py b/trove/backup/models.py index da9397b4..e0c96553 100644 --- a/trove/backup/models.py +++ b/trove/backup/models.py @@ -28,7 +28,6 @@ from trove.quota.quota import run_with_quotas CONF = cfg.CONF LOG = logging.getLogger(__name__) -SWIFT_CONTAINER = CONF.backup_swift_container class BackupState(object): |