From d62f44bf9578f3a2cd102424153b1385c720331f Mon Sep 17 00:00:00 2001 From: Alexandr Stefurishin Date: Tue, 3 Dec 2024 17:14:44 +0300 Subject: [PATCH] fix phase Signed-off-by: Alexandr Stefurishin --- images/agent/src/internal/controller/llvs/reconciler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/agent/src/internal/controller/llvs/reconciler.go b/images/agent/src/internal/controller/llvs/reconciler.go index f488d2f5..694f66b0 100644 --- a/images/agent/src/internal/controller/llvs/reconciler.go +++ b/images/agent/src/internal/controller/llvs/reconciler.go @@ -182,7 +182,7 @@ func (r *Reconciler) reconcileLLVSCreateFunc( if llv.Status == nil || llv.Status.ActualSize.Value() == 0 { r.log.Error(nil, fmt.Sprintf("Error reconciling LLVS %s, source LLV %s ActualSize is not known", llvs.Name, llv.Name)) llvs.Status = &v1alpha1.LVMLogicalVolumeSnapshotStatus{ - Phase: internal.LLVSStatusPhaseFailed, + Phase: internal.LLVSStatusPhasePending, Reason: fmt.Sprintf("Source LLV %s ActualSize is not known", llv.Name), } return true, r.cl.Status().Update(ctx, llvs)