Adding GetFieldSelector() to client.EventInterface

This commit is contained in:
nikhiljindal
2015-03-16 19:02:22 -07:00
parent c0ff504ad3
commit 1b87060aec
5 changed files with 50 additions and 22 deletions

View File

@@ -117,7 +117,6 @@ func (rs *REST) getAttrs(obj runtime.Object) (objLabels labels.Set, objFields fi
if !ok {
return nil, nil, fmt.Errorf("invalid object type")
}
// TODO: internal version leaks through here. This should be versioned.
return labels.Set{}, fields.Set{
"involvedObject.kind": event.InvolvedObject.Kind,
"involvedObject.namespace": event.InvolvedObject.Namespace,