Jelajahi Sumber

fix cont state

reid 2 tahun lalu
induk
melakukan
77be944e4c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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