mirror of
https://github.com/goharbor/harbor
synced 2025-05-17 11:27:56 +00:00
Fix cross account issue (#17533)
Signed-off-by: Vincent Ni <kangqini@amazon.com>
This commit is contained in:
parent
13b3233faf
commit
a3d96000f5
@ -50,7 +50,7 @@ func newAdapter(registry *model.Registry) (*adapter, error) {
|
||||
return nil, err
|
||||
}
|
||||
svc, err := getAwsSvc(
|
||||
region, registry.Credential.AccessKey, registry.Credential.AccessSecret, registry.Insecure, nil)
|
||||
region, registry.Credential.AccessKey, registry.Credential.AccessSecret, registry.Insecure, ®istry.URL)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user