{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes-client/ruby/issues/13","repository_url":"https://api.github.com/repos/kubernetes-client/ruby","labels_url":"https://api.github.com/repos/kubernetes-client/ruby/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-client/ruby/issues/13/comments","events_url":"https://api.github.com/repos/kubernetes-client/ruby/issues/13/events","html_url":"https://github.com/kubernetes-client/ruby/issues/13","id":320953634,"number":13,"title":"V1ServiceSpec: 'selector' required to be Array, not Hash","user":{"login":"gclawes","id":172517,"avatar_url":"https://avatars3.githubusercontent.com/u/172517?v=4","gravatar_id":"","url":"https://api.github.com/users/gclawes","html_url":"https://github.com/gclawes","followers_url":"https://api.github.com/users/gclawes/followers","following_url":"https://api.github.com/users/gclawes/following{/other_user}","gists_url":"https://api.github.com/users/gclawes/gists{/gist_id}","starred_url":"https://api.github.com/users/gclawes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gclawes/subscriptions","organizations_url":"https://api.github.com/users/gclawes/orgs","repos_url":"https://api.github.com/users/gclawes/repos","events_url":"https://api.github.com/users/gclawes/events{/privacy}","received_events_url":"https://api.github.com/users/gclawes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T20:53:27Z","updated_at":"2018-05-07T20:53:27Z","closed_at":null,"author_association":"NONE","body":"`Kubernetes::V1ServiceSpec.swagger_types` indicates that `selector` is a hash: https://github.com/kubernetes-client/ruby/blob/master/kubernetes/lib/kubernetes/models/v1_service_spec.rb#L89\r\n\r\nHowever, it is only loaded in `initialize()` if it `is_a?(Array)`:\r\nhttps://github.com/kubernetes-client/ruby/blob/master/kubernetes/lib/kubernetes/models/v1_service_spec.rb#L147\r\n\r\nBased on the kubernetes Service Docs, it should be a hash: https://kubernetes.io/docs/concepts/services-networking/service/"}}
{"actor":{"display_login":"gclawes"}}