|
@@ -265,8 +265,8 @@ func getCurrentContainerInfo(containerType string) (map[string]string, error) {
|
|
|
return nil, fmt.Errorf("'repo' is not a string")
|
|
return nil, fmt.Errorf("'repo' is not a string")
|
|
|
}
|
|
}
|
|
|
res = make(map[string]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
|
|
return res, nil
|
|
|
}
|
|
}
|