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 {