• Kubernetes Submit Queue's avatar
    Merge pull request #49699 from xingzhou/kube-49384-bug · be1f1439
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 50537, 49699, 50160, 49025, 50205)
    
    AddOrUpdateTaint should ignore duplicate Taint.
    
    The parameter of AddOrUpdateTaint is Taint pointer, so should use
    Taint object itself to compare with the node's taint list to ignore
    duplicate taint.
    
    While doing #49384, found this issue and fixed.
    
    Fixed part of #49384, other test cases will be added in the following patch
    
    **Release note**:
    ```
    None
    ```
    be1f1439
Name
Last commit
Last update
..
BUILD Loading commit data...
taints.go Loading commit data...
taints_test.go Loading commit data...