Skip to content

Commit

Permalink
Pass 'nova' project into ConfigOpts.
Browse files Browse the repository at this point in the history
Fixes bug 999305

The problem was that, post refactoring, `ConfigOpts.find_file` was no
longer searching `/etc/nova` for config files.

Change-Id: I3dee8d8f24ae3912e07dcb9d19086d55eb98ccaa
  • Loading branch information
rconradharris committed May 14, 2012
1 parent b3e2bae commit fb96f7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nova/flags.py
Expand Up @@ -37,6 +37,8 @@
class NovaConfigOpts(cfg.CommonConfigOpts):

def __init__(self, *args, **kwargs):
if 'project' not in kwargs:
kwargs['project'] = 'nova'
super(NovaConfigOpts, self).__init__(*args, **kwargs)
self.disable_interspersed_args()

Expand Down

0 comments on commit fb96f7d

Please sign in to comment.