fix: ExecTerminal 默认 shell 改为 bash(从前端一致)

This commit is contained in:
attacker committed 2026-06-23 01:44:21 +00:00
1 parent 4bd9fa629b
commit a54b2d86b0
1 file changed
+1 -1
+1 -1
View File
@@ -942,7 +942,7 @@ func (h *KubernetesHandler) ExecTerminal(c *gin.Context) {
container := c.Query("container")
command := c.Query("command")
if command == "" {
command = "sh"
command = "bash"
}
client, cluster, err := h.getK8sClient(clusterID)