From fcfb5dbd546e5f481bf4ecd5012e3707de800bc7 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Tue, 7 Sep 2021 17:49:26 +0000 Subject: [PATCH] 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 --- designate/common/policies/pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designate/common/policies/pool.py b/designate/common/policies/pool.py index e5ecf99e8..da39ef16f 100644 --- a/designate/common/policies/pool.py +++ b/designate/common/policies/pool.py @@ -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