From df5a24233f521484b205847d7b842da522ca4dd1 Mon Sep 17 00:00:00 2001 From: vimystic <122659254+vimystic@users.noreply.github.com> Date: Wed, 20 Nov 2024 01:14:33 -0700 Subject: [PATCH] revert previous commit --- internal/fullnode/pvc_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/fullnode/pvc_builder.go b/internal/fullnode/pvc_builder.go index 3519152e..1e98b7f9 100644 --- a/internal/fullnode/pvc_builder.go +++ b/internal/fullnode/pvc_builder.go @@ -51,7 +51,7 @@ func BuildPVCs( var dataSource *corev1.TypedLocalObjectReference var existingSize resource.Quantity - if ds, ok := dataSources[i-crd.Spec.Ordinal.Start]; ok && ds != nil { + if ds, ok := dataSources[i]; ok && ds != nil { dataSource = ds.ref } else { for _, pvc := range currentPVCs {