diff options
| author | Sebastiaan van Stijn <github@gone.nl> | 2022-03-05 21:04:55 +0100 |
|---|---|---|
| committer | Sebastiaan van Stijn <github@gone.nl> | 2022-04-28 22:39:12 +0200 |
| commit | 18281c92fa9eb90824539674da3e0c04741e2c76 (patch) | |
| tree | 24cfb4ea9130570bc0b2b1917d8a6b8bd108b98c /api/server | |
| parent | 4caf68f4f60cddbe95f71b5a395e022ccc8cbf16 (diff) | |
| download | docker-18281c92fa9eb90824539674da3e0c04741e2c76.tar.gz | |
api: rename volume.VolumeListOKBody to volume.ListResponse
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'api/server')
| -rw-r--r-- | api/server/router/volume/volume_routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/server/router/volume/volume_routes.go b/api/server/router/volume/volume_routes.go index 5705b08699..6b179d0b42 100644 --- a/api/server/router/volume/volume_routes.go +++ b/api/server/router/volume/volume_routes.go @@ -24,7 +24,7 @@ func (v *volumeRouter) getVolumesList(ctx context.Context, w http.ResponseWriter if err != nil { return err } - return httputils.WriteJSON(w, http.StatusOK, &volume.VolumeListOKBody{Volumes: volumes, Warnings: warnings}) + return httputils.WriteJSON(w, http.StatusOK, &volume.ListResponse{Volumes: volumes, Warnings: warnings}) } func (v *volumeRouter) getVolumeByName(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error { |
