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:
Lance Bragstad 2021-09-07 17:49:26 +00:00 committed by Lance Bragstad
parent 76bb79dd0d
commit fcfb5dbd54

View File

@ -35,7 +35,7 @@ deprecated_find_pools = policy.DeprecatedRule(
deprecated_since=versionutils.deprecated.WALLABY
)
deprecated_find_pool = policy.DeprecatedRule(
name="find_pools",
name="find_pool",
check_str=base.RULE_ADMIN,
deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.WALLABY