kubelet: Replace deprecated pointer function

Signed-off-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
TommyStarK
2023-01-03 19:33:51 +01:00
parent 3aff1f97be
commit 1fcc8fbf59
11 changed files with 133 additions and 133 deletions

View File

@@ -137,7 +137,7 @@ func TestCreateMirrorPod(t *testing.T) {
Kind: "Node",
Name: testNodeName,
UID: testNodeUID,
Controller: pointer.BoolPtr(true),
Controller: pointer.Bool(true),
}
assert.Equal(t, expectedOwnerRef, createdPod.OwnerReferences[0])
})