• Kubernetes Submit Queue's avatar
    Merge pull request #61391 from hanxiaoshuai/fixtodo0320 · 2196b0a0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 60476, 62462, 61391, 62535, 62394). 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>.
    
    Use function aws.Int64Value replace of deprecated function orZero
    
    **What this PR does / why we need it**:
    
    ```
    // orZero returns the value, or 0 if the pointer is nil
    // Deprecated: prefer aws.Int64Value
    func orZero(v *int64) int64 {
        return aws.Int64Value(v)
    }
    ```
    Use function aws.Int64Value replace of deprecated function orZero and remove unused orZero .
    
    **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
    ```
    2196b0a0
Name
Last commit
Last update
..
providers Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
cloud.go Loading commit data...
doc.go Loading commit data...
plugins.go Loading commit data...