Skip to content

Commit

Permalink
Update pkg/binary/envoy/debug/node.go
Browse files Browse the repository at this point in the history
Co-authored-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
2 people authored and Adrian Cole committed Apr 12, 2021
1 parent 8a929cb commit fcb49b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/binary/envoy/debug/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func printProcessTable(ctx context.Context, out io.Writer, processes []*process.
continue
}
status := ""
if proc.status != nil && len(proc.status) > 0 {
if len(proc.status) > 0 {
status = proc.status[0]
}
fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\t%.2f\t%.2f\t%v\n", proc.pid, proc.username, status, proc.rss, proc.vms, proc.minflt,
Expand Down

0 comments on commit fcb49b2

Please sign in to comment.