{"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes/apimachinery/issues/47","repository_url":"https://api.github.com/repos/kubernetes/apimachinery","labels_url":"https://api.github.com/repos/kubernetes/apimachinery/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/apimachinery/issues/47/comments","events_url":"https://api.github.com/repos/kubernetes/apimachinery/issues/47/events","html_url":"https://github.com/kubernetes/apimachinery/issues/47","id":342926275,"node_id":"MDU6SXNzdWUzNDI5MjYyNzU=","number":47,"title":"metav1.ListOptions LabelSelector field takes string instead of LabelSelector{} object","user":{"login":"timfallmk","id":5316117,"node_id":"MDQ6VXNlcjUzMTYxMTc=","avatar_url":"https://avatars3.githubusercontent.com/u/5316117?v=4","gravatar_id":"","url":"https://api.github.com/users/timfallmk","html_url":"https://github.com/timfallmk","followers_url":"https://api.github.com/users/timfallmk/followers","following_url":"https://api.github.com/users/timfallmk/following{/other_user}","gists_url":"https://api.github.com/users/timfallmk/gists{/gist_id}","starred_url":"https://api.github.com/users/timfallmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timfallmk/subscriptions","organizations_url":"https://api.github.com/users/timfallmk/orgs","repos_url":"https://api.github.com/users/timfallmk/repos","events_url":"https://api.github.com/users/timfallmk/events{/privacy}","received_events_url":"https://api.github.com/users/timfallmk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"liggitt","id":980082,"node_id":"MDQ6VXNlcjk4MDA4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/980082?v=4","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"assignees":[{"login":"liggitt","id":980082,"node_id":"MDQ6VXNlcjk4MDA4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/980082?v=4","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-07-19T23:47:08Z","updated_at":"2018-07-20T00:41:26Z","closed_at":"2018-07-20T00:41:26Z","author_association":"NONE","body":"I'm not sure I'm framing this issue correctly, but I'm trying to pass multiple `LabelSelector`s to the `metav1.ListOptions` construct (currently I have them as a `map[string]string`), but the `LabelSelector` on that struct only takes a string.\r\n\r\nhttps://github.com/kubernetes/apimachinery/blob/594fc14b6f143d963ea2c8132e09e73fe244b6c9/pkg/apis/meta/v1/types.go#L321-L324\r\n\r\nAre multiple selectors intended to be passed as a single concatenated string? Is it even possible to specify multiple selectors for `ListOptions`? I found a possibly related conversion function, but I'm not sure that covers the correct case.\r\n\r\nhttps://github.com/kubernetes/apimachinery/blob/594fc14b6f143d963ea2c8132e09e73fe244b6c9/pkg/apis/meta/v1/conversion.go#L279-L293\r\n\r\nApologies if this ended up in the wrong place. The reference is vapor-ware/ksync#216 if that helps."}}
{"actor":{"display_login":"k8s-ci-robot"}}