Skip to content

Commit

Permalink
Merge pull request #1272 from tobias-urdin/revert
Browse files Browse the repository at this point in the history
Revert "Fix incomplete switch to policy.yaml"
  • Loading branch information
tobias-urdin authored Sep 6, 2022
2 parents cb866ee + 7b722cc commit 33a8100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gnocchi/cli/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def prepare_service(conf=None):
conf = cfg.ConfigOpts()

opts.set_defaults()
policy_opts.set_defaults(conf, 'policy.yaml')
policy_opts.set_defaults(conf)
conf = service.prepare_service(conf=conf)
cfg_path = conf.oslo_policy.policy_file
if not os.path.isabs(cfg_path):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ install_requires =
numpy>=1.9.0
iso8601
oslo.config>=3.22.0
oslo.policy>=3.11.0
oslo.policy>=1.7.0
oslo.middleware>=3.22.0
pytimeparse
pecan>=0.9
Expand Down

0 comments on commit 33a8100

Please sign in to comment.