Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf8898bb

Browse files
committed
fix: cloneset revision update
Signed-off-by: suhe <suhe@njust.edu.cn>
1 parente402cb4 commitf8898bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/controller/cloneset/cloneset_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (r *realStatusUpdater) calculateStatus(cs *appsv1alpha1.CloneSet, newStatus
104104
newStatus.UpdatedAvailableReplicas++
105105
}
106106
}
107-
// Consider the update revision as stable if revisions of all pods are consistent to it, no need to wait all of them ready
107+
// Consider the update revision as stable if revisions of all pods are consistent to it and have the expected number of replicas, no need to wait all of them ready
108108
ifnewStatus.UpdatedReplicas==newStatus.Replicas&&newStatus.Replicas==*cs.Spec.Replicas {
109109
newStatus.CurrentRevision=newStatus.UpdateRevision
110110
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp