Skip to content

Commit

Permalink
fix: fixes erroneous insert of space in each line when timestamps are…
Browse files Browse the repository at this point in the history
… disabled.
  • Loading branch information
atombender committed Aug 18, 2022
1 parent 838ad90 commit 4de584b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ func main() {
if !raw {
if timestamps {
line = col.metadata.Sprint(formatTimestamp(event.Timestamp))
line += " "
}
line += " "
if allNamespaces {
line += col.labels.Sprint(fmt.Sprintf("%s/%s:%s",
event.Pod.Namespace, event.Pod.Name, event.Container.Name))
Expand Down

0 comments on commit 4de584b

Please sign in to comment.