mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg
This commit is contained in:
@@ -489,7 +489,7 @@ func TestAbsentOwnerCache(t *testing.T) {
|
||||
Name: "rc1",
|
||||
UID: "1",
|
||||
APIVersion: "v1",
|
||||
Controller: pointer.BoolPtr(true),
|
||||
Controller: pointer.Bool(true),
|
||||
},
|
||||
})
|
||||
rc1Pod2 := getPod("rc1Pod2", []metav1.OwnerReference{
|
||||
@@ -498,7 +498,7 @@ func TestAbsentOwnerCache(t *testing.T) {
|
||||
Name: "rc1",
|
||||
UID: "1",
|
||||
APIVersion: "v1",
|
||||
Controller: pointer.BoolPtr(false),
|
||||
Controller: pointer.Bool(false),
|
||||
},
|
||||
})
|
||||
rc2Pod1 := getPod("rc2Pod1", []metav1.OwnerReference{
|
||||
|
||||
Reference in New Issue
Block a user