Skip to content

Commit

Permalink
Fix cross account issue (goharbor#17533)
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Ni <[email protected]>
  • Loading branch information
vincentni authored and sluetze committed Oct 29, 2022
1 parent e5fb135 commit 491e438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/reg/adapter/awsecr/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, &registry.URL)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 491e438

Please sign in to comment.