summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-06-03 17:13:00 +0000
committerGerrit Code Review <review@openstack.org>2022-06-03 17:13:00 +0000
commit76d61d1092830cf7719e25803b58f961a6994fd4 (patch)
tree77340d2b30ff6a226f81789ce4265ffa2a5ac939
parentd0ea52c0feb1071b5b74543d88b5f5edd63db165 (diff)
parentf4396df723a701a5b38027ceb2375fde0837b89b (diff)
downloaddesignate-76d61d1092830cf7719e25803b58f961a6994fd4.tar.gz
Merge "Fix a typo in the tsigkey policy file" into stable/xena
-rw-r--r--designate/common/policies/tsigkey.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/designate/common/policies/tsigkey.py b/designate/common/policies/tsigkey.py
index 2df26f3e..b8d59311 100644
--- a/designate/common/policies/tsigkey.py
+++ b/designate/common/policies/tsigkey.py
@@ -18,38 +18,38 @@ from oslo_policy import policy
from designate.common.policies import base
-DEPERCATED_REASON = """
+DEPRECATED_REASON = """
The tsigkey API now supports system scope and default roles.
"""
deprecated_create_tsigkey = policy.DeprecatedRule(
name="create_tsigkey",
check_str=base.RULE_ADMIN,
- deprecated_reason=DEPERCATED_REASON,
+ deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.WALLABY
)
deprecated_find_tsigkeys = policy.DeprecatedRule(
name="find_tsigkeys",
check_str=base.RULE_ADMIN,
- deprecated_reason=DEPERCATED_REASON,
+ deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.WALLABY
)
deprecated_get_tsigkey = policy.DeprecatedRule(
name="get_tsigkey",
check_str=base.RULE_ADMIN,
- deprecated_reason=DEPERCATED_REASON,
+ deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.WALLABY
)
deprecated_update_tsigkey = policy.DeprecatedRule(
name="update_tsigkey",
check_str=base.RULE_ADMIN,
- deprecated_reason=DEPERCATED_REASON,
+ deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.WALLABY
)
deprecated_delete_tsigkey = policy.DeprecatedRule(
name="delete_tsigkey",
check_str=base.RULE_ADMIN,
- deprecated_reason=DEPERCATED_REASON,
+ deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.WALLABY
)