We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81623ad commit 2fe8430Copy full SHA for 2fe8430
internal/namespaces/instance/v1/custom_image.go
@@ -185,10 +185,15 @@ func imageListBuilder(c *core.Command) *core.Command {
185
// Get images
186
args := argsI.(*customListImageRequest)
187
188
- req := &instance.ListImagesRequest{}
189
- req.Organization = args.OrganizationID
190
- req.Project = args.ProjectID
191
- req.Public = scw.BoolPtr(false)
+ req := &instance.ListImagesRequest{
+ Organization: args.OrganizationID,
+ Name: args.Name,
+ Public: scw.BoolPtr(false),
192
+ Arch: args.Arch,
193
+ Project: args.ProjectID,
194
+ Tags: args.Tags,
195
+ }
196
+
197
client := core.ExtractClient(ctx)
198
api := instance.NewAPI(client)
199
blockAPI := block.NewAPI(client)
0 commit comments