Explorar o código

fix cont state

reid %!s(int64=2) %!d(string=hai) anos
pai
achega
77be944e4c
Modificáronse 1 ficheiros con 1 adicións e 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