Skip to content

Commit 591dbce

Browse files
rgarciastainless-app[bot]
authored andcommitted
fix build
1 parent d114bbf commit 591dbce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cmd/instance.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,9 @@ func handleInstancesStreamLogs(ctx context.Context, cmd *cli.Command) error {
399399
params,
400400
option.WithMiddleware(cc.AsMiddleware()),
401401
)
402+
defer stream.Close()
402403
for stream.Next() {
403-
fmt.Printf("%s\n", stream.Current().RawJSON())
404+
fmt.Printf("%s\n", stream.Current())
404405
}
405406
return stream.Err()
406407
}

0 commit comments

Comments
 (0)