Fix typo in the find_pool deprecated rule
The find_pool policy was referencing find_pools, which was incorrect and caused oslo.policy to think the rule name was changing, which isn't the case. This commit updates the deprecated rule to use the proper policy name. Change-Id: Iaac9b2c14e118056e1cb11ad3b1fa18b07eb22ac
This commit is contained in:
parent
76bb79dd0d
commit
fcfb5dbd54
@ -35,7 +35,7 @@ deprecated_find_pools = policy.DeprecatedRule(
|
|||||||
deprecated_since=versionutils.deprecated.WALLABY
|
deprecated_since=versionutils.deprecated.WALLABY
|
||||||
)
|
)
|
||||||
deprecated_find_pool = policy.DeprecatedRule(
|
deprecated_find_pool = policy.DeprecatedRule(
|
||||||
name="find_pools",
|
name="find_pool",
|
||||||
check_str=base.RULE_ADMIN,
|
check_str=base.RULE_ADMIN,
|
||||||
deprecated_reason=DEPRECATED_REASON,
|
deprecated_reason=DEPRECATED_REASON,
|
||||||
deprecated_since=versionutils.deprecated.WALLABY
|
deprecated_since=versionutils.deprecated.WALLABY
|
||||||
|
Loading…
Reference in New Issue
Block a user