gofmt -w -s registry/client/repository.go

Signed-off-by: Tibor Vass <teabee89@gmail.com>
This commit is contained in:
Tibor Vass 2017-09-05 13:14:43 -07:00
parent 2c58ce1a7f
commit 13e0608bc8

View file

@ -75,8 +75,8 @@ func NewRegistry(baseURL string, transport http.RoundTripper) (Registry, error)
} }
return &registry{ return &registry{
client: client, client: client,
ub: ub, ub: ub,
}, nil }, nil
} }
@ -145,9 +145,9 @@ func NewRepository(name reference.Named, baseURL string, transport http.RoundTri
} }
return &repository{ return &repository{
client: client, client: client,
ub: ub, ub: ub,
name: name, name: name,
}, nil }, nil
} }
@ -188,17 +188,17 @@ func (r *repository) Manifests(ctx context.Context, options ...distribution.Mani
func (r *repository) Tags(ctx context.Context) distribution.TagService { func (r *repository) Tags(ctx context.Context) distribution.TagService {
return &tags{ return &tags{
client: r.client, client: r.client,
ub: r.ub, ub: r.ub,
name: r.Named(), name: r.Named(),
} }
} }
// tags implements remote tagging operations. // tags implements remote tagging operations.
type tags struct { type tags struct {
client *http.Client client *http.Client
ub *v2.URLBuilder ub *v2.URLBuilder
name reference.Named name reference.Named
} }
// All returns all tags // All returns all tags