Skip to content

Commit

Permalink
chore: simplify variable
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Hartland <[email protected]>
  • Loading branch information
mdelapenya and stevenh authored Sep 28, 2024
1 parent 3ff6cb9 commit 4da07f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/dynamodb/dynamodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ func (c *DynamoDBContainer) ConnectionString(ctx context.Context) (string, error
return "", err
}

uri := fmt.Sprintf("%s:%s", hostIP, mappedPort.Port())
return uri, nil
return hostIP+":"+mappedPort.Port(), nil
}

// WithSharedDB allows container reuse between successive runs. Data will be persisted
Expand Down

0 comments on commit 4da07f3

Please sign in to comment.