Satisfy the latest go lint rules

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
This commit is contained in:
Richard Scothern 2016-10-14 17:03:08 -07:00
parent c372264f17
commit bd91493195
3 changed files with 10 additions and 10 deletions

View file

@ -44,7 +44,7 @@ func setupFS(t *testing.T) *setupEnv {
}
for _, repo := range repos {
makeRepo(t, ctx, repo, registry)
makeRepo(ctx, t, repo, registry)
}
expected := []string{
@ -67,7 +67,7 @@ func setupFS(t *testing.T) *setupEnv {
}
}
func makeRepo(t *testing.T, ctx context.Context, name string, reg distribution.Namespace) {
func makeRepo(ctx context.Context, t *testing.T, name string, reg distribution.Namespace) {
named, err := reference.ParseNamed(name)
if err != nil {
t.Fatal(err)