correct print info

Signed-off-by: zhao.laihe <zhao.laihe@neolink.com>
This commit is contained in:
zhao.laihe 2024-02-21 12:49:18 +08:00
parent 9250219d2c
commit 8f0b190d34
1 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ func CreateOrUpdateStatefulSet(client clientset.Interface, statefulSet *appsv1.S
}
}
klog.V(5).InfoS("Successfully created or updated statefulset", "statefulset", statefulSet.GetName)
klog.V(5).InfoS("Successfully created or updated statefulset", "statefulset", statefulSet.GetName())
return nil
}
@ -275,7 +275,7 @@ func CreateOrUpdateClusterRole(client clientset.Interface, clusterrole *rbacv1.C
}
}
klog.V(4).InfoS("Successfully created or updated clusterrole", "clusterrole", clusterrole.GetName)
klog.V(4).InfoS("Successfully created or updated clusterrole", "clusterrole", clusterrole.GetName())
return nil
}