mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fixed conflicts
This commit is contained in:
parent
893c974b08
commit
ac37fcf6f3
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ func (srv *Server) pushRepository(r *registry.Registry, out io.Writer, name, reg
|
|||
|
||||
for _, ep := range repoData.Endpoints {
|
||||
if !(strings.HasPrefix(ep, "http://") || strings.HasPrefix(ep, "https://")) {
|
||||
ep = "https://" + ep
|
||||
ep = fmt.Sprintf("%s://%s", registry.UrlScheme(), ep)
|
||||
}
|
||||
out.Write(sf.FormatStatus("Pushing repository %s to %s (%d tags)", name, ep, len(localRepo)))
|
||||
// For each image within the repo, push them
|
||||
|
|
Loading…
Reference in a new issue