Fix(test/integration/util): fix typo on logging message

This commit is contained in:
Kensei Nakada 2021-07-06 17:08:11 +09:00 committed by GitHub
parent 48b7492f92
commit a85f3e4cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ func StartFakePVController(clientSet clientset.Interface) ShutdownFunc {
metav1.SetMetaDataAnnotation(&pvc.ObjectMeta, pvutil.AnnBindCompleted, "yes")
_, err := clientSet.CoreV1().PersistentVolumeClaims(claimRef.Namespace).Update(ctx, pvc, metav1.UpdateOptions{})
if err != nil {
klog.Errorf("error while getting %v/%v: %v", claimRef.Namespace, claimRef.Name, err)
klog.Errorf("error while updating %v/%v: %v", claimRef.Namespace, claimRef.Name, err)
return
}
}