diff options
author | Ben Nemec <bnemec@redhat.com> | 2019-10-23 16:11:35 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2020-03-23 22:16:58 +0000 |
commit | ba8dd06e123adb353c5bb71d75c345cf3e463ba8 (patch) | |
tree | e080e1d649c4daaf9d4084dca2d86d8620e4d4ca /requirements.txt | |
parent | d9af77e1d854b7a49c749a2f86002fbe0336ae39 (diff) | |
download | keystone-ba8dd06e123adb353c5bb71d75c345cf3e463ba8.tar.gz |
Parse cli args in get_enforcer
Previously this call to the conf object couldn't parse cli args
because the oslo.policy tool was registering its cli opts on a
private conf object, so attempting to parse them on the global
object would fail. The dependency makes oslo.policy use the global
object instead so cli arg parsing works correctly.
This is important because ignoring cli args as this was previously
doing caused things like --config-file to be dropped, which meant
that running the tool with that option specified did not work as
expected.
Depends-On: https://review.opendev.org/690628
Change-Id: Id553743277a35660a40d6b3b02847d7a35abbfb9
Closes-Bug: 1849518
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt index a9872e039..bfd8dbc42 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,7 +27,7 @@ oslo.db>=4.27.0 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0 oslo.log>=3.44.0 # Apache-2.0 oslo.middleware>=3.31.0 # Apache-2.0 -oslo.policy>=2.3.0 # Apache-2.0 +oslo.policy>=3.0.2 # Apache-2.0 oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 oslo.upgradecheck>=0.1.0 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0 |