From: Rick Harris Date: Mon, 16 Jul 2012 19:33:45 +0000 (+0100) Subject: Pass 'cinder' project into ConfigOpts X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9929f2b2a152f34e24366f5f0afbc071ff40833f;p=openstack-build%2Fcinder-build.git Pass 'cinder' project into ConfigOpts Cherry-picks fb96f7d from Nova. Change-Id: I1a11e8fd6a56b2336457f7df178c2b3c187246c3 --- 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()