pkg/scheduler: Replace deprecated func usage from the k8s.io/utils/pointer pkg

This commit is contained in:
ialidzhikov
2022-08-14 19:14:01 +03:00
parent 132f29769d
commit 7c8a151faa
15 changed files with 198 additions and 198 deletions

View File

@@ -230,7 +230,7 @@ func (p *PodWrapper) OwnerReference(name string, gvk schema.GroupVersionKind) *P
APIVersion: gvk.GroupVersion().String(),
Kind: gvk.Kind,
Name: name,
Controller: pointer.BoolPtr(true),
Controller: pointer.Bool(true),
},
}
return p