[placement] api-ref GET /traits name:startswith
In the Placement API reference, the GET /traits [1] query parameter 'name' says it accepts a key called 'starts_with'. The actual API accepts 'startswith' (no underscore). [1] https://developer.openstack.org/api-ref/placement/#list-traits Change-Id: I5a1fa51fc751f2492ae6aa2b38893a9e06a26ed1 Closes-Bug: #1714283
This commit is contained in:
parent
b1e05cc700
commit
6bcda0e997
@ -77,8 +77,8 @@ trait_name_query:
|
||||
description: |
|
||||
A string to filter traits. The following options are available:
|
||||
|
||||
`starts_with` operator filters the traits whose name begins with a
|
||||
specific prefix, e.g. name=starts_with:CUSTOM,
|
||||
`startswith` operator filters the traits whose name begins with a
|
||||
specific prefix, e.g. name=startswith:CUSTOM,
|
||||
|
||||
`in` operator filters the traits whose name is in the specified list, e.g.
|
||||
name=in:HW_CPU_X86_AVX,HW_CPU_X86_SSE,HW_CPU_X86_INVALID_FEATURE.
|
||||
|
Loading…
Reference in New Issue
Block a user