mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
e2e: small fixes in var name and error msg
rookTolBoxPodLabel to rookToolBoxPodLabel podPot to podOpt fix error message for getting PV Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
@ -144,7 +144,7 @@ func getPVCAndPV(c kubernetes.Interface, pvcName, pvcNamespace string) (*v1.Pers
|
||||
}
|
||||
pv, err := c.CoreV1().PersistentVolumes().Get(context.TODO(), pvc.Spec.VolumeName, metav1.GetOptions{})
|
||||
if err != nil {
|
||||
return pvc, nil, fmt.Errorf("failed to delete PV with error %v", err)
|
||||
return pvc, nil, fmt.Errorf("failed to get PV with error %v", err)
|
||||
}
|
||||
return pvc, pv, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user