Skip to content
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

Merged
merged 9 commits into from
Jul 21, 2021

Conversation

thijsdejong
Copy link
Contributor

ISSUE TYPE
  • Bug fix Pull Request
SUMMARY

This fixes a panic when running a command with an allowed verb but without a resource. For example: @Botkube get.

@thijsdejong thijsdejong changed the title Fix panic when running Fix panic when running command without resource Jan 15, 2021
@PrasadG193
Copy link
Collaborator

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

@thijsdejong
Copy link
Contributor Author

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 :shipit:

@PrasadG193
Copy link
Collaborator

@thijsdejong CI failures are blocking merge. Could you please take a look?

@mergify mergify bot merged commit 6ced5ea into kubeshop:develop Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants