Skip to content

Commit

Permalink
Replace pod name with container name in LogLine event (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwuertinger authored May 28, 2019
1 parent c11e2de commit bccf86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/job/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func streamLogsForContainer(cs *kubernetes.Clientset, pod *core.Pod, container s
events <- fmt.Errorf("streamLogsForContainer: %v", err)
return
}
events <- LogLine{pod.Name, line}
events <- LogLine{container, line}
if err == io.EOF {
return
}
Expand Down

0 comments on commit bccf86e

Please sign in to comment.