Skip to content

Commit

Permalink
fix phase
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Stefurishin <[email protected]>
  • Loading branch information
Alexandr Stefurishin committed Dec 3, 2024
1 parent 54d2e76 commit d62f44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/agent/src/internal/controller/llvs/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d62f44b

Please sign in to comment.