Skip to content

Commit

Permalink
Accept --json flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rugwirobaker committed Oct 6, 2021
1 parent 37d05c9 commit 4ff2463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func runLogs(cc *cmdctx.CmdContext) error {
case <-ctx.Done():
return stream.Err()
case entry := <-entries:
presenter.FPrint(cc.Out, false, entry)
presenter.FPrint(cc.Out, cc.OutputJSON(), entry)
}
}
}

0 comments on commit 4ff2463

Please sign in to comment.