Procházet zdrojové kódy

add urbit starters

reid před 2 roky
rodič
revize
a720c9415f
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      docker/docker.go

+ 3 - 3
docker/docker.go

@@ -265,8 +265,8 @@ func getCurrentContainerInfo(containerType string) (map[string]string, error) {
 		return nil, fmt.Errorf("'repo' is not a string")
 	}
 	res = make(map[string]string)
-	res["tag"] = containerData["tag"].(string)
-	res["hash"] = containerData[hashLabel].(string)
-	res["repo"] = containerData["repo"].(string)
+	res["tag"] = tag
+	res["hash"] = hashValue
+	res["repo"] = repo
 	return res, nil
 }