Skip to content

Commit 0b6d2bf

Browse files
committed
Fix lint
1 parent 29032da commit 0b6d2bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ func handleInstancesStart(ctx context.Context, cmd *cli.Command) error {
450450
json := gjson.Parse(string(res))
451451
format := cmd.Root().String("format")
452452
transform := cmd.Root().String("transform")
453-
return ShowJSON("instances start", json, format, transform)
453+
return ShowJSON(os.Stdout, "instances start", json, format, transform)
454454
}
455455

456456
func handleInstancesStop(ctx context.Context, cmd *cli.Command) error {
@@ -486,5 +486,5 @@ func handleInstancesStop(ctx context.Context, cmd *cli.Command) error {
486486
json := gjson.Parse(string(res))
487487
format := cmd.Root().String("format")
488488
transform := cmd.Root().String("transform")
489-
return ShowJSON("instances stop", json, format, transform)
489+
return ShowJSON(os.Stdout, "instances stop", json, format, transform)
490490
}

0 commit comments

Comments
 (0)