reid 2 rokov pred
rodič
commit
77be944e4c
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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