fix: ExecTerminal 默认 shell 改为 bash(从前端一致)
This commit is contained in:
1 parent
4bd9fa629b
commit
a54b2d86b0
1 file changed
+1
-1
@@ -942,7 +942,7 @@ func (h *KubernetesHandler) ExecTerminal(c *gin.Context) {
|
|||||||
container := c.Query("container")
|
container := c.Query("container")
|
||||||
command := c.Query("command")
|
command := c.Query("command")
|
||||||
if command == "" {
|
if command == "" {
|
||||||
command = "sh"
|
command = "bash"
|
||||||
}
|
}
|
||||||
|
|
||||||
client, cluster, err := h.getK8sClient(clusterID)
|
client, cluster, err := h.getK8sClient(clusterID)
|
||||||
|
|||||||
Reference in new issue
Block a user