mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
api/types/volume: change ListResponse.Volumes to a non-pointer slice
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -2149,6 +2149,7 @@ definitions:
|
||||
Volume:
|
||||
type: "object"
|
||||
required: [Name, Driver, Mountpoint, Labels, Scope, Options]
|
||||
x-nullable: false
|
||||
properties:
|
||||
Name:
|
||||
type: "string"
|
||||
|
||||
@@ -2149,6 +2149,7 @@ definitions:
|
||||
Volume:
|
||||
type: "object"
|
||||
required: [Name, Driver, Mountpoint, Labels, Scope, Options]
|
||||
x-nullable: false
|
||||
properties:
|
||||
Name:
|
||||
type: "string"
|
||||
|
||||
@@ -13,7 +13,7 @@ package volume
|
||||
type ListResponse struct {
|
||||
|
||||
// List of volumes
|
||||
Volumes []*Volume `json:"Volumes"`
|
||||
Volumes []Volume `json:"Volumes"`
|
||||
|
||||
// Warnings that occurred when fetching the list of volumes.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user