forked from toolshed/abra
		
	Update volume list options.
This commit is contained in:
		@ -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)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user