Explorar el Código

fix cont state

reid hace 2 años
padre
commit
77be944e4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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