-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Description
Description
The http API for Inspect Plugin shows the returned property "Types" of subobject Interface inside Config to be of type "array of PluginInterfaceType" which in turn is a object. However the example show an array of strings, which matches the data returned by docker. So either the api and example is wrong or the described return type is wrong.
Steps to reproduce the issue:
- RTFM
- Wonder why the manual does not match the returned data
- Cry
Describe the results you received:
[
{
"Config": {
...
"Interface": {
"Socket": "sshfs.sock",
"Types": [
"docker.volumedriver/1.0"
]
},
...
},
...
}
]Describe the results you expected:
[
{
"Config": {
...
"Interface": {
"Socket": "sshfs.sock",
"Types": [{
"prefix":"docker",
"capability":"volumedriver",
"version":"1.0"
}]
},
...
},
...
}
]Additional information you deem important (e.g. issue happens only occasionally):
Documentation issue. Changing the returned data would make it easier to parse but breaks backwards compatibility.
Output of docker version:
N/A
Output of docker info:
N/A
Additional environment details (AWS, VirtualBox, physical, etc.):
N/A