Skip to content

Commit

Permalink
Fixes codegen for multiple account ids
Browse files Browse the repository at this point in the history
  • Loading branch information
sbiscigl committed Nov 2, 2022
1 parent 4f57f90 commit 859fc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/model/api/endpoint_arn.go
Expand Up @@ -80,7 +80,7 @@ const accountIDWithARNShapeTmplDef = `
// if account id is not provided, we update the account id in modified input
// if account id is provided, but doesn't match with the one in ARN, we throw an error
// if account id is not updated, we return nil. Note that original input is not modified.
func (s {{ $.ShapeName }}) updateAccountID(accountId string) (interface{}, error) {
func (s {{ $.ShapeName }}) update{{ $name }}(accountId string) (interface{}, error) {
if s.{{ $name }} == nil {
s.{{ $name }} = aws.String(accountId)
return &s, nil
Expand Down

0 comments on commit 859fc78

Please sign in to comment.