mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-13 06:20:31 +00:00
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 ```