Fix typos in zone policy deprecations
Two of the zone policies were referencing the wrong policy variables in the same file. This causes oslo.policy to think the rules were changing when they are not. This commit updates the policy deprecations to use the proper deprecated rules for the appropriate policies. Change-Id: I68b71e680cd72692b0bcb470be1bc4902d5e7bc8
This commit is contained in:
parent
76bb79dd0d
commit
b3363cc863
@ -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
|
||||
)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user