Skip to content
Permalink
Browse files

Add fieldSelector builder function to events.

  • Loading branch information
jfbai committed Dec 3, 2019
1 parent 97002b3 commit c955a4be748211af2bc618da30c7dd22f4d7fa3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkg/apis/events/v1beta1/conversion.go
@@ -85,7 +85,7 @@ func AddFieldLabelConversionsForEvent(scheme *runtime.Scheme) error {
return "involvedObject.fieldPath", value, nil
case "reportingController":
return "source.component", value, nil
case "reason", "type", "metadata.namespace", "metadata.name":
case "reportingInstance", "reason", "type", "metadata.namespace", "metadata.name":
return label, value, nil
default:
return "", "", fmt.Errorf("field label not supported: %s", label)

0 comments on commit c955a4b

Please sign in to comment.
You can’t perform that action at this time.