mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
cleanup: Update deprecated FromInt to FromInt32 (#119858)
* redo commit * apply suggestions from liggitt * update Parse function based on suggestions
This commit is contained in:
@@ -8197,7 +8197,7 @@ func TestValidateInitContainers(t *testing.T) {
|
||||
StartupProbe: &core.Probe{
|
||||
ProbeHandler: core.ProbeHandler{
|
||||
TCPSocket: &core.TCPSocketAction{
|
||||
Port: intstr.FromInt(80),
|
||||
Port: intstr.FromInt32(80),
|
||||
},
|
||||
},
|
||||
SuccessThreshold: 1,
|
||||
@@ -8413,7 +8413,7 @@ func TestValidateInitContainers(t *testing.T) {
|
||||
RestartPolicy: &containerRestartPolicyAlways,
|
||||
StartupProbe: &core.Probe{
|
||||
ProbeHandler: core.ProbeHandler{
|
||||
TCPSocket: &core.TCPSocketAction{Port: intstr.FromInt(80)},
|
||||
TCPSocket: &core.TCPSocketAction{Port: intstr.FromInt32(80)},
|
||||
},
|
||||
SuccessThreshold: 2,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user