Skip to content
Snippets Groups Projects
Commit 45b1e2d2 authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

fix repoman get return repo name on not repo object

parent 86132cec
No related branches found
No related tags found
No related merge requests found
......@@ -649,7 +649,7 @@ class RepositoryManager(object):
# search image in repos
for repo in search:
if self[repo].has(name, version):
return self[repo].get(name, version), repo
return self[repo].get(name, version), self[repo]
raise Exception("No image %s v%s in %s" % (
name, version, search))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment