From db16ff684c2eddd4589b5d8be0113ed11746121c Mon Sep 17 00:00:00 2001 From: Alexander Wels Date: Thu, 19 Sep 2024 13:34:59 -0500 Subject: [PATCH] Return true if the PVC is filesystem but has correct annotations. The return was missed and it was returning false even if it should return true. Signed-off-by: Alexander Wels --- state_transfer/transfer/pvc_list.go | 1 + 1 file changed, 1 insertion(+) diff --git a/state_transfer/transfer/pvc_list.go b/state_transfer/transfer/pvc_list.go index 23aeedd..6120b21 100644 --- a/state_transfer/transfer/pvc_list.go +++ b/state_transfer/transfer/pvc_list.go @@ -127,6 +127,7 @@ func isBlockOrVMDisk(pvc *v1.PersistentVolumeClaim) bool { if v, ok := pvc.GetAnnotations()[kubeVirtAnnKey]; !ok || v != kubevirtContentType { return false } + isBlock = true } return isBlock }