Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

remove the unnecessary argument in the CreateTrigger func in wiretap#337

Merged
tzununbekov merged 1 commit intotriggermesh:mainfrom
NikhilSharmaWe:minorFix
Jun 20, 2023
Merged

remove the unnecessary argument in the CreateTrigger func in wiretap#337
tzununbekov merged 1 commit intotriggermesh:mainfrom
NikhilSharmaWe:minorFix

Conversation

@NikhilSharmaWe
Copy link
Copy Markdown
Contributor

@NikhilSharmaWe NikhilSharmaWe commented Jun 17, 2023

CreateTrigger function has an unnecessary parameter.
Maybe forgot to remove it after the function structure was changed.

@NikhilSharmaWe
Copy link
Copy Markdown
Contributor Author

Hey, @tzununbekov
just a minor fix.

Copy link
Copy Markdown
Member

@tzununbekov tzununbekov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove the eventTypes flag from the watch.go arguments, as well as EventTypes and Source attributes from the CliOptions structure to make this cleanup complete?

Copy link
Copy Markdown
Member

@tzununbekov tzununbekov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc for the watch command needs to be updated, otherwise, CI won't pass

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
@tzununbekov tzununbekov merged commit ef39066 into triggermesh:main Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants