mirror of
https://github.com/distribution/distribution.git
synced 2025-09-18 16:35:48 +00:00
Remove context in NewRegistry and NewRepository
The context parameter was either not used or misused. Signed-off-by: Tibor Vass <teabee89@gmail.com>
This commit is contained in:
@@ -146,7 +146,7 @@ func (pr *proxyingRegistry) Repository(ctx context.Context, name reference.Named
|
||||
return nil, err
|
||||
}
|
||||
|
||||
remoteRepo, err := client.NewRepository(ctx, name, pr.remoteURL.String(), tr)
|
||||
remoteRepo, err := client.NewRepository(name, pr.remoteURL.String(), tr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user