fix(trigger): Make --filter flag truly optional#745
fix(trigger): Make --filter flag truly optional#745knative-prow-robot merged 3 commits intoknative:masterfrom
Conversation
knative-prow-robot
left a comment
There was a problem hiding this comment.
@dsimansk: 0 warnings.
Details
In response to this:
Description
Fix issue with
kn trigger createthat always required--filterflag.Changes
TriggerBuilderadds only empty Spec.Filter for empty or nil arrays- The above should also allow builder to be used to clean up existing filters
kn trigger describedoesn't print empty FilterReference
Fixes #744
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
|
Does it make sense to omit filter in Current change in this PR is omitting the filter: |
|
The following is the coverage report on the affected files.
|
|
/test pull-knative-client-integration-tests |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, rhuss The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* fix(trigger): Make --filter flag truly optional * fix(trigger): Update trigger docs * chore: Update changelog
* fix(trigger): Make --filter flag truly optional (#745) * fix(trigger): Make --filter flag truly optional * fix(trigger): Update trigger docs * chore: Update changelog * fix(trigger): Fix filter delete for trigger update (#746) * chore: Update changelog * Fix plugin execution for Windows (#738) Fixes #737 * Use exec.Command instend of syscall.Exec for windows. * Fix a bug in plugin handler test when running it on windows. * Fix typo. * fix: Fix default config path on Windows (#752) Co-authored-by: Lv Jiawei <lvjiawei@cmss.chinamobile.com>
Description
Fix issue with
kn trigger createthat always required--filterflag.Changes
TriggerBuilderadds only empty Spec.Filter for empty or nil arrayskn trigger describedoesn't print empty FilterReference
Fixes #744