cleanup: Update deprecated FromInt to FromInt32 (#119858)
* redo commit * apply suggestions from liggitt * update Parse function based on suggestions
This commit is contained in:
@@ -35,7 +35,7 @@ import (
|
||||
)
|
||||
|
||||
func intOrStrP(val int) *intstr.IntOrString {
|
||||
intOrStr := intstr.FromInt(val)
|
||||
intOrStr := intstr.FromInt32(int32(val))
|
||||
return &intOrStr
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user