imagetools resolver: fix deprecated client opt

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-11-30 15:34:29 +01:00
parent 0abda783bb
commit 5c5125f30e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -47,10 +47,10 @@ func (r *Resolver) resolver() remotes.Resolver {
}
for i := range res {
res[i].Authorizer = r.auth
res[i].Client = tracing.DefaultClient
}
return res, nil
},
Client: tracing.DefaultClient,
})
}