瀏覽代碼

fix version marshalling

reid 2 年之前
父節點
當前提交
6a1ddde5fa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docker/docker.go

+ 1 - 1
docker/docker.go

@@ -258,7 +258,7 @@ func GetLatestContainerInfo(containerType string) (map[string]string, error) {
 	if err != nil {
 		return res, err
 	}
-	containerData, ok := channel[containerType].(map[string]interface{})
+	containerData, ok := m[containerType].(map[string]interface{})
 	if !ok {
 		return nil, fmt.Errorf("%s data is not a map", containerType)
 	}