Skip to content

Commit

Permalink
improve ds wait check
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterYan committed Nov 6, 2024
1 parent 01c643a commit ee8f11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/supportbundle/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ func waitForDS(ctx context.Context, clientset kubernetes.Interface, ds *appsv1.D
if !ok {
continue
}
if dsEvent.Status.NumberReady > 0 {
if dsEvent.Status.NumberReady > 0 && dsEvent.Status.DesiredNumberScheduled == dsEvent.Status.NumberReady {
return nil
}
}
Expand Down

0 comments on commit ee8f11d

Please sign in to comment.