registry: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or values which are already int32s, or int variables which are defined close by and can be changed to int32s with little impact. Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:

committed by
Stephen Kitt

parent
f871d5fabe
commit
026e7c7cb3
@@ -53,7 +53,7 @@ var (
|
||||
name = "foo-ingress"
|
||||
defaultHostname = "foo.bar.com"
|
||||
defaultBackendName = "default-backend"
|
||||
defaultBackendPort = intstr.FromInt(80)
|
||||
defaultBackendPort = intstr.FromInt32(80)
|
||||
defaultLoadBalancer = "127.0.0.1"
|
||||
defaultPath = "/foo"
|
||||
defaultPathType = networking.PathTypeImplementationSpecific
|
||||
|
Reference in New Issue
Block a user