summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-09-17 02:22:28 +0000
committerGerrit Code Review <review@openstack.org>2021-09-17 02:22:28 +0000
commit2618eb3afe975899080a6b4a6bd4b37ffb0b2bf5 (patch)
tree2e38c15e83b0542b0b5c033b657c05b8d8b2ff60
parent8cc817fedc15ac19a64e61cd5a266ba6387f46fd (diff)
parentb3363cc863df324b21e95692949a462a31a67cef (diff)
downloaddesignate-2618eb3afe975899080a6b4a6bd4b37ffb0b2bf5.tar.gz
Merge "Fix typos in zone policy deprecations"
-rw-r--r--designate/common/policies/zone.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/designate/common/policies/zone.py b/designate/common/policies/zone.py
index 74552597..948b1132 100644
--- a/designate/common/policies/zone.py
+++ b/designate/common/policies/zone.py
@@ -158,7 +158,7 @@ rules = [
'method': 'GET'
}
],
- deprecated_rule=deprecated_get_zone_servers
+ deprecated_rule=deprecated_find_zones
),
policy.DocumentedRuleDefault(
name="update_zone",
@@ -234,7 +234,7 @@ rules = [
name="touch_zone",
check_str=base.SYSTEM_ADMIN_OR_PROJECT_MEMBER,
scope_types=['system', 'project'],
- deprecated_rule=deprecated_purge_zones
+ deprecated_rule=deprecated_touch_zone
)
]