kyuubi/kyuubi-server
fwang12 f8ee58f7d6 [KYUUBI #5004] Fix typo for kubernetes allowed context and namespace check
### _Why are the changes needed?_

I met below exception.
```
2023-06-29 00:10:43.174 ERROR org.apache.kyuubi.engine.KubernetesApplicationOperation: Failed to get application with 3c036904-ffef-480b-89e9-2bc6439a6d04, due to Kubernetes context Some(97) is not in the allowed list[ArrayBuffer(97, 116)]
```

The context and namespace are type of `Option[String]` and the allowed lists are type of `Seq[String]`.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request

Closes #5004 from turboFei/context_check.

Closes #5004

3a3e8c878 [fwang12] ut
55766313a [fwang12] add ut
68f582bfc [fwang12] fix context and namespace check

Authored-by: fwang12 <fwang12@ebay.com>
Signed-off-by: fwang12 <fwang12@ebay.com>
2023-06-29 15:50:56 +08:00
..
src [KYUUBI #5004] Fix typo for kubernetes allowed context and namespace check 2023-06-29 15:50:56 +08:00
web-ui [KYUUBI #3648][UI] Add Session Detail Page 2023-06-14 14:56:53 +08:00
pom.xml [KYUUBI #4950] Migrate Kyuubi embedded database from Derby to SQLite 2023-06-12 21:01:51 +08:00