You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.Warningf("custom program exited with no error (retry %d/%d) -- the command is not supposed to quit when using stdin", attempt, config.TotalRetries)
115
+
caseerrors.Is(err, context.Canceled):
116
+
log.Info("custom program terminated")
117
+
returnnil
118
+
caseconfig.TotalRetries==1:
119
+
log.Errorf("custom program exited: %s", err)
120
+
default:
121
+
log.Errorf("custom program exited (retry %d/%d): %s", attempt, config.TotalRetries, err)
115
122
}
123
+
124
+
delay=2*time.Second
125
+
attempt++
116
126
}
117
-
returnerrors.New("maximum retries exceeded for binary. Exiting")
127
+
128
+
returnerrors.New("maximum retries exceeded for program execution")
0 commit comments