diff options
author | Michael Johnson <johnsomor@gmail.com> | 2022-01-05 22:40:40 +0000 |
---|---|---|
committer | Michael Johnson <johnsomor@gmail.com> | 2022-05-31 23:04:26 +0000 |
commit | 7217ce4e09f2a54a455d20f9d5e967a7950bda01 (patch) | |
tree | 57dd66b54e0fc8c49c32cde884effdd6949e6556 | |
parent | 2e55c3e24bfaf1b03241aa1a4a538d03c29d69ad (diff) | |
download | designate-7217ce4e09f2a54a455d20f9d5e967a7950bda01.tar.gz |
Fix a typo in the tsigkey policy file
This patch fixes a typo in the deprecated reason string variable
name.
Change-Id: I06cf5b5cbe5544327e30971115f3bf98214293f6
-rw-r--r-- | designate/common/policies/tsigkey.py | 12 |
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 ) |