• Kubernetes Submit Queue's avatar
    Merge pull request #61981 from hanxiaoshuai/fixtodo0331 · 1102fd0d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    fixtodo:rsDeepCopy only when sizeNeedsUpdate or annotationsNeedUpdate
    
    **What this PR does / why we need it**:
    ```
    // TODO: Do not mutate the replica set here, instead simply compare the annotation and if they mismatch
    // call SetReplicasAnnotations inside the following if clause. Then we can also move the deep-copy from
    // above inside the if too.
    ```
    fixtodo:rsDeepCopy only when sizeNeedsUpdate or annotationsNeedUpdate
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    1102fd0d
Name
Last commit
Last update
..
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
deployment_controller.go Loading commit data...
deployment_controller_test.go Loading commit data...
progress.go Loading commit data...
progress_test.go Loading commit data...
recreate.go Loading commit data...
recreate_test.go Loading commit data...
rollback.go Loading commit data...
rolling.go Loading commit data...
rolling_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...