mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
continue daemon refactor of Repositories()
- use daemon member directly rather than through a function call - create GetImage method for use external to deamon Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
This commit is contained in:
@@ -425,7 +425,7 @@ func (s *router) postBuild(ctx context.Context, w http.ResponseWriter, r *http.R
|
||||
}
|
||||
|
||||
if repoName != "" {
|
||||
if err := s.daemon.Repositories().Tag(repoName, tag, string(imgID), true); err != nil {
|
||||
if err := s.daemon.TagImage(repoName, tag, string(imgID), true); err != nil {
|
||||
return errf(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user