Do not log content of secrets

This commit is contained in:
Amund Tenstad
2021-04-21 16:12:53 +02:00
parent 54a8e0683b
commit 78be58b090
+1 -1
View File
@@ -145,7 +145,7 @@ func (c *Controller) handleErr(err error, key interface{}) {
// This controller retries 5 times if something goes wrong. After that, it stops trying.
if c.queue.NumRequeues(key) < 5 {
logrus.Errorf("Error syncing events %v: %v", key, err)
logrus.Errorf("Error syncing events: %v", err)
// Re-enqueue the key rate limited. Based on the rate limiter on the
// queue and the re-enqueue history, the key will be processed later again.