Skip to content

Commit

Permalink
Merge pull request #1431 from kajinamit/policy-yaml
Browse files Browse the repository at this point in the history
Remove default override for policy_file option
  • Loading branch information
tobias-urdin authored Dec 16, 2024
2 parents 1712a79 + 3c96c33 commit 05995a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions gnocchi/cli/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import daiquiri
from oslo_config import cfg
from oslo_policy import opts as policy_opts

from gnocchi import opts
from gnocchi.rest import app
Expand All @@ -37,7 +36,6 @@ def prepare_service(conf=None):
conf = cfg.ConfigOpts()

opts.set_defaults()
policy_opts.set_defaults(conf, 'policy.yaml')

conf = service.prepare_service(conf=conf)
return conf
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ install_requires =
numpy>=1.14.0
iso8601
oslo.config>=3.22.0
oslo.policy>=3.5.0
oslo.policy>=4.5.0
oslo.middleware>=3.22.0
oslo.utils>=1.1.1
pytimeparse
Expand Down

0 comments on commit 05995a1

Please sign in to comment.