-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix panic when running command without resource #447
Conversation
Hey @thijsdejong, thanks for fixing this. Do you mind adding test for this in our e2e test suite? https://github.com/infracloudio/botkube/blob/develop/test/e2e/command/kubectl.go#L46 |
I added the test |
@thijsdejong CI failures are blocking merge. Could you please take a look? |
ISSUE TYPE
SUMMARY
This fixes a panic when running a command with an allowed verb but without a resource. For example:
@Botkube get
.