diff --git a/agent/app/service/host_tool.go b/agent/app/service/host_tool.go index b60fb61e1..c51f7684d 100644 --- a/agent/app/service/host_tool.go +++ b/agent/app/service/host_tool.go @@ -615,7 +615,7 @@ func getProcessStatus(config *response.SupervisorProcessConfig, containerName st for _, line := range lines { line = strings.TrimPrefix(line, "stdout:") fields := strings.Fields(line) - if len(fields) >= 5 { + if len(fields) >= 4 { status := response.ProcessStatus{ Name: fields[0], Status: fields[1], diff --git a/frontend/src/views/toolbox/supervisor/index.vue b/frontend/src/views/toolbox/supervisor/index.vue index 625ec7b39..8ccec0075 100644 --- a/frontend/src/views/toolbox/supervisor/index.vue +++ b/frontend/src/views/toolbox/supervisor/index.vue @@ -27,6 +27,9 @@ {{ $t('commons.button.create') + $t('tool.supervisor.list').toLowerCase() }} +