kn trigger create fails without --filter flag #744
Labels
good first issue
Denotes an issue ready for a new contributor.
kind/bug
Categorizes issue or PR as related to a bug.
Bug report
There was a bug in Eventing 0.13.0 that rejected triggers without filters. However, even on version
0.13.1
the creation of such trigger will fail. There's a bug in our current impl that will initialize emptytrigger.Spec.Filter.Attributes
regardless of no flag provided that causes the error behaviour.Beware, that
kn trigger describe
has to be fixed for empty filters also.Expected behavior
Trigger can be created without
--filter
flag.Steps to reproduce the problem
kn version
HEAD
Knative (serving/eventing) version
0.13.1
/kind good-first-issue
The text was updated successfully, but these errors were encountered: