imagetools resolver: fix deprecated client opt

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/869/head
CrazyMax 3 years ago
parent 0abda783bb
commit 5c5125f30e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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,
})
}

Loading…
Cancel
Save