From 9929f2b2a152f34e24366f5f0afbc071ff40833f Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Mon, 16 Jul 2012 20:33:45 +0100 Subject: [PATCH] Pass 'cinder' project into ConfigOpts Cherry-picks fb96f7d from Nova. Change-Id: I1a11e8fd6a56b2336457f7df178c2b3c187246c3 --- cinder/flags.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cinder/flags.py b/cinder/flags.py index 60e86999b..e3178cb31 100644 --- a/cinder/flags.py +++ b/cinder/flags.py @@ -37,6 +37,8 @@ from cinder.openstack.common import cfg class CinderConfigOpts(cfg.CommonConfigOpts): def __init__(self, *args, **kwargs): + if 'project' not in kwargs: + kwargs['project'] = 'cinder' super(CinderConfigOpts, self).__init__(*args, **kwargs) self.disable_interspersed_args() -- 2.45.2