Closed sbespalov closed 5 years ago
@sbespalov Right, turns out that List-Volumes operation returns a JsonObject, not a JsonArray:
https://docs.docker.com/engine/api/v1.30/#operation/VolumeList
The format is actually:
{
"Volumes": [
{}
],
"Warnings": [ ]
}
Let's parse the response and iterate the Volumes
array, ignore the Warnings
for now.
@sbespalov Merged, please close
Probably something wrong with expected JSON format.
How to reproduce:
Expected result: Got the volumes iterator
Actual result:
javax.json.JsonException