{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/issues/496","repository_url":"https://api.github.com/repos/kubernetes-sigs/kustomize","labels_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/issues/496/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/issues/496/events","html_url":"https://github.com/kubernetes-sigs/kustomize/pull/496","id":372625551,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NzU5MDU2","number":496,"title":"enable preserving order with generatorOptions","user":{"login":"Liujingfang1","id":8498608,"node_id":"MDQ6VXNlcjg0OTg2MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/8498608?v=4","gravatar_id":"","url":"https://api.github.com/users/Liujingfang1","html_url":"https://github.com/Liujingfang1","followers_url":"https://api.github.com/users/Liujingfang1/followers","following_url":"https://api.github.com/users/Liujingfang1/following{/other_user}","gists_url":"https://api.github.com/users/Liujingfang1/gists{/gist_id}","starred_url":"https://api.github.com/users/Liujingfang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liujingfang1/subscriptions","organizations_url":"https://api.github.com/users/Liujingfang1/orgs","repos_url":"https://api.github.com/users/Liujingfang1/repos","events_url":"https://api.github.com/users/Liujingfang1/events{/privacy}","received_events_url":"https://api.github.com/users/Liujingfang1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-22T17:49:54Z","updated_at":"2018-10-22T19:55:40Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/pulls/496","html_url":"https://github.com/kubernetes-sigs/kustomize/pull/496","diff_url":"https://github.com/kubernetes-sigs/kustomize/pull/496.diff","patch_url":"https://github.com/kubernetes-sigs/kustomize/pull/496.patch"},"body":"In `Kustomization` type, we use *generatorOptions, a pointer. \r\n`v.Len()` can't be called on a pointer type.\r\nAdded a function to check the type. If it's a pointer, use `v.IsNil()`; otherwise, use `v.Len()`"},"comment":{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/issues/comments/431959625","html_url":"https://github.com/kubernetes-sigs/kustomize/pull/496#issuecomment-431959625","issue_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/issues/496","id":431959625,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTk1OTYyNQ==","user":{"login":"k8s-ci-robot","id":20407524,"node_id":"MDQ6VXNlcjIwNDA3NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/20407524?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T19:55:40Z","updated_at":"2018-10-22T19:55:40Z","author_association":"CONTRIBUTOR","body":"[APPROVALNOTIFIER] This PR is **APPROVED**\n\nThis pull-request has been approved by: *<a href=\"https://github.com/kubernetes-sigs/kustomize/pull/496#\" title=\"Author self-approved\">Liujingfang1</a>*\n\nThe full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands).\n\nThe pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)\n\n<details >\nNeeds approval from an approver in each of these files:\n\n- ~~[OWNERS](https://github.com/kubernetes-sigs/kustomize/blob/master/OWNERS)~~ [Liujingfang1]\n\nApprovers can indicate their approval by writing `/approve` in a comment\nApprovers can cancel approval by writing `/approve cancel` in a comment\n</details>\n<!-- META={\"approvers\":[]} -->"}}
{"actor":{"display_login":"k8s-ci-robot"}}