pkg/apis: Replace deprecated pointer function

Signed-off-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
TommyStarK
2023-01-08 13:14:37 +01:00
parent 3aff1f97be
commit c242e647ae
29 changed files with 396 additions and 396 deletions

View File

@@ -227,12 +227,12 @@ func TestValidateScheduling(t *testing.T) {
Key: "valid",
Operator: core.TolerationOpExists,
Effect: core.TaintEffectNoExecute,
TolerationSeconds: utilpointer.Int64Ptr(5),
TolerationSeconds: utilpointer.Int64(5),
}, {
Key: "valid",
Operator: core.TolerationOpExists,
Effect: core.TaintEffectNoExecute,
TolerationSeconds: utilpointer.Int64Ptr(10),
TolerationSeconds: utilpointer.Int64(10),
}},
},
expectErrs: 1,