test utils: explicitely ignore returned values
While we don't care about some errors, it's good to make it explicit
to the reader when we do ignore them.
@@ -577,7 +577,7 @@ func DeleteAllSeparateDeviceHostPathPvs() {
for _, pv := range pvList.Items {
if pv.Spec.StorageClassName == StorageClassHostPathSeparateDevice {
// ignore error we want to attempt to delete them all.
- virtClient.CoreV1().PersistentVolumes().Delete(context.Background(), pv.Name, metav1.DeleteOptions{})
+ _ = virtClient.CoreV1().PersistentVolumes().Delete(context.Background(), pv.Name, metav1.DeleteOptions{})
}
}
