소스 검색

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