mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-27 21:26:03 +00:00
Unversioned types should not use ambiguous go-int
All external types that are not int64 are now marked as int32, including IntOrString. Prober is now int32 (43 years should be enough of an initial probe time for anyone). Did not change the metadata fields for now.
This commit is contained in:
@@ -616,7 +616,7 @@ var _ = Describe("Kubectl client", func() {
|
||||
if port.Port != servicePort {
|
||||
Failf("Wrong service port: %d", port.Port)
|
||||
}
|
||||
if port.TargetPort.IntVal != redisPort {
|
||||
if port.TargetPort.IntValue() != redisPort {
|
||||
Failf("Wrong target port: %d")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user