瀏覽代碼

fix cont state

reid 2 年之前
父節點
當前提交
77be944e4c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/config.go

+ 1 - 1
config/config.go

@@ -124,7 +124,7 @@ func UpdateContainerState(name string, containerState structs.ContainerState) {
 }
 
 // get the current container state
-func GetContainerState() structs.ContainerState {
+func GetContainerState() map[string]structs.ContainerState {
 	contMutex.Lock()
 	defer contMutex.Unlock()
 	return GSContainers