浏览代码

wrangling docker images

reid 2 年之前
父节点
当前提交
1ab8bc2357
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      config/config.go

+ 3 - 0
config/config.go

@@ -121,6 +121,9 @@ func UpdateContainerState(name string, containerState structs.ContainerState) {
 	contMutex.Lock()
 	defer contMutex.Unlock()
 	GSContainers[name] = containerState
+	//debug
+	res2B, _ := json.Marshal(containerState)
+	logger.Info(string(res2B))
 }
 
 // get the current container state