{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/7252","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/7252/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/7252/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/7252/events","html_url":"https://github.com/eclipse/che/pull/7252","id":272245092,"number":7252,"title":"If workspace base image does not have labels, skip merge of image labels","user":{"login":"osallou","id":1024098,"avatar_url":"https://avatars2.githubusercontent.com/u/1024098?v=4","gravatar_id":"","url":"https://api.github.com/users/osallou","html_url":"https://github.com/osallou","followers_url":"https://api.github.com/users/osallou/followers","following_url":"https://api.github.com/users/osallou/following{/other_user}","gists_url":"https://api.github.com/users/osallou/gists{/gist_id}","starred_url":"https://api.github.com/users/osallou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osallou/subscriptions","organizations_url":"https://api.github.com/users/osallou/orgs","repos_url":"https://api.github.com/users/osallou/repos","events_url":"https://api.github.com/users/osallou/events{/privacy}","received_events_url":"https://api.github.com/users/osallou/received_events","type":"User","site_admin":false},"labels":[{"id":192367926,"url":"https://api.github.com/repos/eclipse/che/labels/kind/bug","name":"kind/bug","color":"fc2929","default":false},{"id":345100523,"url":"https://api.github.com/repos/eclipse/che/labels/status/code-review","name":"status/code-review","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-11-08T15:43:21Z","updated_at":"2017-11-09T12:24:01Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/7252","html_url":"https://github.com/eclipse/che/pull/7252","diff_url":"https://github.com/eclipse/che/pull/7252.diff","patch_url":"https://github.com/eclipse/che/pull/7252.patch"},"body":"<!-- Please review the following before submitting a PR:\r\nChe's Contributing Guide: https://github.com/eclipse/che/blob/master/CONTRIBUTING.md\r\nPull Request Policy: https://github.com/eclipse/che/wiki/Development-Workflow#pull-requests\r\n\r\nCOMMITTERS: please include labels on each PR. Labels are listed here: https://github.com/eclipse/che/wiki/Labels but at a minimum you should include `kind/..` and `Dev Open Pull Request Status` labels.\r\n-->\r\n\r\n### What does this PR do?\r\n\r\nThis PR fixes issue #7249. If image does not have labels in config, the merge fails with nullpointerexception. This patch does the merge only if labels!=null\r\n\r\n### What issues does this PR fix or reference?\r\n\r\nWith SINGLE_MODE, if image does not have any LABEL, an exception is raised when trying to merge the labels. This PR checks that LABEL is not null before merge, else skip the merge.\r\n\r\n#### Release Notes\r\nN/A\r\n\r\n\r\n#### Docs PR\r\n<!-- Please add a matching PR to [the docs repo](https://github.com/eclipse/che-docs) and link that PR to this issue.\r\nBoth will be merged at the same time. -->\r\nNone, bug fix only. No impact on documentation."},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/343139066","html_url":"https://github.com/eclipse/che/pull/7252#issuecomment-343139066","issue_url":"https://api.github.com/repos/eclipse/che/issues/7252","id":343139066,"user":{"login":"benoitf","id":436777,"avatar_url":"https://avatars1.githubusercontent.com/u/436777?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitf","html_url":"https://github.com/benoitf","followers_url":"https://api.github.com/users/benoitf/followers","following_url":"https://api.github.com/users/benoitf/following{/other_user}","gists_url":"https://api.github.com/users/benoitf/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitf/subscriptions","organizations_url":"https://api.github.com/users/benoitf/orgs","repos_url":"https://api.github.com/users/benoitf/repos","events_url":"https://api.github.com/users/benoitf/events{/privacy}","received_events_url":"https://api.github.com/users/benoitf/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T12:24:01Z","updated_at":"2017-11-09T12:24:01Z","author_association":"MEMBER","body":"ci-build"}}
{"actor":{"display_login":"benoitf"}}