mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-24 09:34:24 +01:00
`/test-kata-deploy` command does **not** work, and the output returned is: ``` Error: Comment didn't contain a valid slash command ``` So, why does this happen? This is the regex used: `^\/([\w]+)\b *(.*)?$`, being the important part of the command "\/([\w]+)\b", with the rest being arguments to it. Okay, `\w` is the key here, as `\w` means: a-z, A-Z, 0-9, including the _. Our command is `/test-kata-deploy`, and `-` is not present as part of `\w`. Knowing this we need to update the command to something like: `/test_kata_deploy` Fixes: #1645 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>