소스 검색

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