mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-07 22:16:16 +08:00
fix: Solve the problem of abnormal status judgment in docker (#10266)
Refs #10258
This commit is contained in:
parent
c61828fb39
commit
cc6b506176
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ func (u *DockerService) LoadDockerStatus() *dto.DockerStatus {
|
|||
return &data
|
||||
}
|
||||
data.IsExist = true
|
||||
data.IsActive, _ = systemctl.IsActive("docker")
|
||||
data.IsActive = true
|
||||
client, err := docker.NewDockerClient()
|
||||
if err != nil {
|
||||
global.LOG.Errorf("load docker client failed, err: %v", err)
|
||||
|
|
Loading…
Add table
Reference in a new issue