Correct description for encryption-type policies
The current 'path' (used only for documentation) is incorrect. Not a big deal except that using the encryption_id as described there results in a 404, which is confusing to users. Change-Id: I3c0afece33859552e85cd89626b349b43ebe038a Closes-bug: #1873051
This commit is contained in:
parent
65604daae0
commit
ab126efcbb
@ -93,7 +93,7 @@ volume_type_policies = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'method': 'GET',
|
'method': 'GET',
|
||||||
'path': '/types/{type_id}/encryption/{encryption_id}'
|
'path': '/types/{type_id}/encryption/{key}'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'method': 'DELETE',
|
'method': 'DELETE',
|
||||||
@ -113,15 +113,16 @@ volume_type_policies = [
|
|||||||
policy.DocumentedRuleDefault(
|
policy.DocumentedRuleDefault(
|
||||||
name=GET_ENCRYPTION_POLICY,
|
name=GET_ENCRYPTION_POLICY,
|
||||||
check_str=ENCRYPTION_BASE_POLICY_RULE,
|
check_str=ENCRYPTION_BASE_POLICY_RULE,
|
||||||
description="Show, list volume type encryption.",
|
description="Show a volume type's encryption type, "
|
||||||
|
"show an encryption specs item.",
|
||||||
operations=[
|
operations=[
|
||||||
{
|
{
|
||||||
'method': 'GET',
|
'method': 'GET',
|
||||||
'path': '/types/{type_id}/encryption/{encryption_id}'
|
'path': '/types/{type_id}/encryption'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'method': 'GET',
|
'method': 'GET',
|
||||||
'path': '/types/{type_id}/encryption'
|
'path': '/types/{type_id}/encryption/{key}'
|
||||||
}
|
}
|
||||||
]),
|
]),
|
||||||
policy.DocumentedRuleDefault(
|
policy.DocumentedRuleDefault(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user