Skip to content

Commit 7416f51

Browse files
author
Valeriy Khorunzhin
committed
fix comment
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
1 parent 93472b5 commit 7416f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/virtualization-artifact/pkg/controller/vdsnapshot/internal/virtual_disk_ready.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (h VirtualDiskReadyHandler) Handle(ctx context.Context, vdSnapshot *v1alpha
8585
case v1alpha2.DiskReady:
8686
snapshotting, ok := conditions.GetCondition(vdcondition.SnapshottingType, vd.Status.Conditions)
8787
// If the snapshotting condition is not found, it means that the disk is ready for snapshotting.
88-
// Otherwise, check the status of the condition and the last updated time.
88+
// Otherwise, check the status of the condition and ensure it reflects the current state of the object.
8989
if ok && (snapshotting.Status != metav1.ConditionTrue || !conditions.IsLastUpdated(snapshotting, vd)) {
9090
cb.
9191
Status(metav1.ConditionFalse).

0 commit comments

Comments
 (0)