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:
@@ -116,7 +116,7 @@ func createNodeLease(nodeName string, renewTime metav1.MicroTime) *coordv1.Lease
|
||||
Namespace: v1.NamespaceNodeLease,
|
||||
},
|
||||
Spec: coordv1.LeaseSpec{
|
||||
HolderIdentity: pointer.StringPtr(nodeName),
|
||||
HolderIdentity: pointer.String(nodeName),
|
||||
RenewTime: &renewTime,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user