Fix count_record policy to use the right deprecation variable
The cound record policy was referencing the wrong variable name for the deprecated rule. This causes oslo.policy to generate a deprecation warning that didn't make sense since it thought the policy name was changing. This commit updates the rule to use the proper deprecation. Change-Id: Ic686d35c25436a1bca83c4bb9c62ebf28a445f28
This commit is contained in:
parent
76bb79dd0d
commit
f67ae19888
@ -57,7 +57,7 @@ rules = [
|
||||
name="count_records",
|
||||
check_str=base.SYSTEM_OR_PROJECT_READER,
|
||||
scope_types=['system', 'project'],
|
||||
deprecated_rule=deprecated_find_records
|
||||
deprecated_rule=deprecated_count_records
|
||||
)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user