pkg/apis: Replace deprecated pointer function
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user