Skip to content

Commit

Permalink
fix(cli): Remove info logging from watches. Fixes argoproj#2955
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed May 5, 2020
1 parent f281199 commit c96793d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/workflow/workflow_server.go
Expand Up @@ -160,7 +160,7 @@ func (s *workflowServer) WatchWorkflows(req *workflowpkg.WatchWorkflowsRequest,
return ctx.Err()
case event, open := <-watch.ResultChan():
if !open {
log.Info("Re-establishing workflow watch")
log.Debug(g"Re-establishing workflow watch")
watch, err = wfIf.Watch(*opts)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion util/logs/workflow-logger.go
Expand Up @@ -160,7 +160,7 @@ func WorkflowLogs(ctx context.Context, wfClient versioned.Interface, kubeClient
return
case event, open := <-wfWatch.ResultChan():
if !open {
logCtx.Info("Re-establishing workflow watch")
logCtx.Debug("Re-establishing workflow watch")
wfWatch, err = wfInterface.Watch(wfListOptions)
if err != nil {
logCtx.Error(err)
Expand Down

0 comments on commit c96793d

Please sign in to comment.