{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59971","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59971/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59971/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59971/events","html_url":"https://github.com/kubernetes/kubernetes/issues/59971","id":297766556,"number":59971,"title":"Eliminate duplicated versions of the utilpointer.Int32Ptr()","user":{"login":"php-coder","id":87088,"avatar_url":"https://avatars3.githubusercontent.com/u/87088?v=4","gravatar_id":"","url":"https://api.github.com/users/php-coder","html_url":"https://github.com/php-coder","followers_url":"https://api.github.com/users/php-coder/followers","following_url":"https://api.github.com/users/php-coder/following{/other_user}","gists_url":"https://api.github.com/users/php-coder/gists{/gist_id}","starred_url":"https://api.github.com/users/php-coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-coder/subscriptions","organizations_url":"https://api.github.com/users/php-coder/orgs","repos_url":"https://api.github.com/users/php-coder/repos","events_url":"https://api.github.com/users/php-coder/events{/privacy}","received_events_url":"https://api.github.com/users/php-coder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-16T12:15:40Z","updated_at":"2018-02-16T12:15:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We should do the similar changes that I did for `BoolPtr()` in #59924 but for `utilpointer.Int32Ptr()`. Here are the candidates:\r\n```console\r\n$ git grep -E 'func\\ [^ (]+\\([^ ]+\\ int32\\)\\ \\*int32' !(vendor) | grep -v pkg/util/pointer\r\npkg/apis/apps/v1/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/apps/v1beta1/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/apps/v1beta2/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/autoscaling/v1/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/autoscaling/v2beta1/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/autoscaling/validation/validation_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/batch/v1/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/batch/v1beta1/defaults_test.go:func newInt32(val int32) *int32 {\r\npkg/apis/core/v1/defaults_test.go:func newInt(val int32) *int32 {\r\npkg/apis/extensions/v1beta1/defaults_test.go:func newInt32(val int32) *int32 {\r\nstaging/src/k8s.io/client-go/examples/create-update-delete-deployment/main.go:func int32Ptr(i int32) *int32 { return &i }\r\n```\r\n\r\n/kind cleanup\r\n/help"}}
{"actor":{"display_login":"php-coder"}}