Skip to content

Commit 4036015

Browse files
authored
Update log message to fix panic (#82)
1 parent dd546b5 commit 4036015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/ibmobjectcsi_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ func configMapPredicate() predicate.Predicate {
680680
UpdateFunc: func(e event.UpdateEvent) bool {
681681
configmap := e.ObjectNew.(*corev1.ConfigMap)
682682
if configmap.Namespace == constants.ParamsConfigMapNamespace && configmap.Name == constants.ParamsConfigMap {
683-
logger.Info("Update event on the configmap", configmap.Name, "namespace", configmap.Namespace)
683+
logger.Info("Update event on the configmap", "name", configmap.Name, "namespace", configmap.Namespace)
684684
return true
685685
}
686686
return false

0 commit comments

Comments
 (0)