Fix sample JSON payload when updating a Volume (#8880)

Fixes #8879
This commit is contained in:
José Maia 2020-09-14 14:24:26 +01:00 committed by GitHub
parent 317eba3b20
commit 4515e89d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,14 +275,18 @@ parameters.
```json
{
"ID": "volume-id1",
"Name": "volume id1",
"Namespace": "default",
"ExternalID": "volume-id1",
"Topologies": [{ "foo": "bar" }],
"AccessMode": "multi-node-single-writer",
"AttachmentMode": "file-system",
"PluginID": "plugin-id1"
"Volumes": [
{
"ID": "volume-id1",
"Name": "volume id1",
"Namespace": "default",
"ExternalID": "volume-id1",
"Topologies": [{ "foo": "bar" }],
"AccessMode": "multi-node-single-writer",
"AttachmentMode": "file-system",
"PluginID": "plugin-id1"
}
]
}
```