summaryrefslogtreecommitdiff
path: root/nova/cmd/common.py
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-04-01 09:58:02 +0100
committerStephen Finucane <stephenfin@redhat.com>2021-08-09 15:34:39 +0100
commit84b61790763f91e12eebb96d955e2f83abc00d56 (patch)
tree07ab1e8f929a990711c05051bccf1d38bbc5d166 /nova/cmd/common.py
parentd20c1926553a6dcc50597a4ad14fcf93ad0b4b78 (diff)
downloadnova-84b61790763f91e12eebb96d955e2f83abc00d56.tar.gz
db: Register database config options ourselves
Deep copy the database options, allowing us to reuse them exactly. This was actually suggested in I7b74c4bb4a3edc335523c62ec63e57fdd5c51f39, which added the current code but was rejected at the time because it "would make our lives harder when we need to deprecate those cloned API DB opts." I don't know why we'd ever want to deprecate the cloned options so I see no reason not to take this approach now. Doing so results in less complicated/weird code and also sets us up nicely for future changes that'll remove some of the now unnecessary abstraction layers provided by oslo.db. Change-Id: I714dce969088e17caaa1daddc881ebca6834e0f1 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/cmd/common.py')
0 files changed, 0 insertions, 0 deletions