Merge pull request #2 from stakater/master

Updates from master
This commit is contained in:
Avi Huly
2022-12-18 15:23:24 +02:00
committed by GitHub
24 changed files with 107 additions and 154 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const (
// Leadership election related consts
const (
LockName string = "stakaer-reloader-lock"
LockName string = "stakater-reloader-lock"
PodNameEnv string = "POD_NAME"
PodNamespaceEnv string = "POD_NAMESPACE"
)
+2 -1
View File
@@ -208,5 +208,6 @@ func (c *Controller) handleErr(err error, key interface{}) {
c.queue.Forget(key)
// Report to an external entity that, even after several retries, we could not successfully process this key
runtime.HandleError(err)
logrus.Infof("Dropping the key %q out of the queue: %v", key, err)
logrus.Errorf("Dropping key out of the queue: %v", err)
logrus.Debugf("Dropping the key %q out of the queue: %v", key, err)
}