diff --git a/cli/app/remove.go b/cli/app/remove.go index ace1a609d..186b8e431 100644 --- a/cli/app/remove.go +++ b/cli/app/remove.go @@ -11,6 +11,7 @@ import ( stack "coopcloud.tech/abra/pkg/upstream/stack" "github.com/AlecAivazis/survey/v2" "github.com/docker/docker/api/types" + "github.com/docker/docker/api/types/volume" "github.com/sirupsen/logrus" "github.com/urfave/cli" ) @@ -108,7 +109,8 @@ flag. logrus.Fatal(err) } - volumeListOKBody, err := cl.VolumeList(context.Background(), fs) + volumeListOptions := volume.ListOptions{fs} + volumeListOKBody, err := cl.VolumeList(context.Background(), volumeListOptions) volumeList := volumeListOKBody.Volumes if err != nil { logrus.Fatal(err)