Fix typo in message policy deprecations
The similarity in the variable names for get and get_all slipped through when we implemented project personas support for messages: https://review.opendev.org/c/openstack/cinder/+/806631 As a result, oslo.policy thought the policy name was changing, but it's not. This commit updates the policy deprecations to use the right deprecation variables. Change-Id: I2a83ab07ccec80b910c614a5f5743d642491e592
This commit is contained in:
parent
05d397bed1
commit
651c936f22
@ -48,7 +48,7 @@ messages_policies = [
|
||||
'path': '/messages'
|
||||
}
|
||||
],
|
||||
deprecated_rule=deprecated_get_policy,
|
||||
deprecated_rule=deprecated_get_all_policy,
|
||||
),
|
||||
policy.DocumentedRuleDefault(
|
||||
name=GET_POLICY,
|
||||
@ -60,7 +60,7 @@ messages_policies = [
|
||||
'path': '/messages/{message_id}'
|
||||
}
|
||||
],
|
||||
deprecated_rule=deprecated_get_all_policy,
|
||||
deprecated_rule=deprecated_get_policy,
|
||||
),
|
||||
policy.DocumentedRuleDefault(
|
||||
name=DELETE_POLICY,
|
||||
|
Loading…
Reference in New Issue
Block a user