From f4396df723a701a5b38027ceb2375fde0837b89b Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Wed, 5 Jan 2022 22:40:40 +0000 Subject: Fix a typo in the tsigkey policy file This patch fixes a typo in the deprecated reason string variable name. Change-Id: I06cf5b5cbe5544327e30971115f3bf98214293f6 --- designate/common/policies/tsigkey.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/designate/common/policies/tsigkey.py b/designate/common/policies/tsigkey.py index b3562315..89bbb0f1 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 ) -- cgit v1.2.1