Skip to content

Commit

Permalink
Fix region parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Howell <ethan.c.howell@hotmail.com>
  • Loading branch information
ethanchowell committed Jul 4, 2024
1 parent 12af246 commit 3bebf57
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 @@ -67,7 +67,7 @@ func parseAccountRegion(url string) (string, string, error) {
if rs == nil {
return "", "", errors.New("bad aws url")
}
return rs[1], rs[2], nil
return rs[1], rs[3], nil
}

type factory struct {
Expand Down

0 comments on commit 3bebf57

Please sign in to comment.