Merge pull request #114902 from TommyStarK/pkg-apis/replace-deprecated-pointer-function

pkg/apis: Replace deprecated pointer function
This commit is contained in:
Kubernetes Prow Robot
2023-03-09 21:34:15 -08:00
committed by GitHub
29 changed files with 396 additions and 396 deletions

View File

@@ -247,7 +247,7 @@ func TestReplicationControllerConversion(t *testing.T) {
Namespace: "namespace",
},
Spec: v1.ReplicationControllerSpec{
Replicas: utilpointer.Int32Ptr(1),
Replicas: utilpointer.Int32(1),
MinReadySeconds: 32,
Selector: map[string]string{"foo": "bar", "bar": "foo"},
Template: &v1.PodTemplateSpec{