Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Sep 19, 2022
1 parent 07d432a commit ee9c70f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/watch/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,11 @@ func (o *WatchClient) processEvents(
fmt.Fprintf(out, "Updated Kubernetes config\n")
}
} else {
fmt.Fprintf(out, "%s - %s\n\n", PushErrorString, err.Error())
if parameters.WatchFiles {
fmt.Fprintf(out, "%s - %s\n\n", PushErrorString, err.Error())
} else {
return nil, err
}
}
wait := backoff.Delay()
return &wait, nil
Expand Down

0 comments on commit ee9c70f

Please sign in to comment.