Fix fission check command doesnt work for namespace other than fission (#2932)
* Fix `fission check` command which does not work outside of `fission` namespace If user provide namespace then use it for running `fission check` command. If user does not provide namespace then use `fission` as default namespace. * Update go version to 1.22.2 --------- Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>
This commit is contained in:
@@ -366,6 +366,11 @@ func TestFissionCLI(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
})
|
||||
|
||||
t.Run("check --namespace", func(t *testing.T) {
|
||||
_, err := cli.ExecCommand(f, ctx, "check", "--namespace", "default")
|
||||
require.NoError(t, err)
|
||||
})
|
||||
|
||||
t.Run("version", func(t *testing.T) {
|
||||
_, err := cli.ExecCommand(f, ctx, "version")
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user