forked from toolshed/abra
		
	fix: use StackName to filter volumes
This commit is contained in:
		| @ -26,7 +26,7 @@ var appVolumeListCommand = cli.Command{ | ||||
| 	Action: func(c *cli.Context) error { | ||||
| 		app := internal.ValidateApp(c) | ||||
|  | ||||
| 		volumeList, err := client.GetVolumes(context.Background(), app.Server, app.Name) | ||||
| 		volumeList, err := client.GetVolumes(context.Background(), app.Server, app.StackName()) | ||||
| 		if err != nil { | ||||
| 			logrus.Fatal(err) | ||||
| 		} | ||||
| @ -78,7 +78,7 @@ Passing "--force" will select all volumes for removal. Be careful. | ||||
| 	Action: func(c *cli.Context) error { | ||||
| 		app := internal.ValidateApp(c) | ||||
|  | ||||
| 		volumeList, err := client.GetVolumes(context.Background(), app.Server, app.Name) | ||||
| 		volumeList, err := client.GetVolumes(context.Background(), app.Server, app.StackName()) | ||||
| 		if err != nil { | ||||
| 			logrus.Fatal(err) | ||||
| 		} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user