Skip to content

Commit

Permalink
don't stop logging if container unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
jbvmio committed Apr 10, 2019
1 parent a18c779 commit 8cac491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/podlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ func (p *PodLogger) StartStream() {
fmt.Println(p.pod.Name, "Starting Stream")
stream, err := p.req.Stream()
if err != nil {
log.Fatalf("Error obtaining log stream: %v\n", err)
fmt.Printf("Error obtaining log stream: %v\n", err)
return
}
podLogs := logWatch{
pod: p.pod.Name,
Expand Down

0 comments on commit 8cac491

Please sign in to comment.