Skip to content

Commit

Permalink
Update modules/mysql/mysql.go
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
  • Loading branch information
eddumelendez and mdelapenya committed Mar 23, 2023
1 parent a1702ea commit 01fc534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mysql/mysql.go
Expand Up @@ -24,7 +24,7 @@ type MySQLContainer struct {
type MySQLContainerOption func(req *testcontainers.ContainerRequest)

// StartContainer creates an instance of the MySQL container type
func StartContainer(ctx context.Context, image string, opts ...PostgresContainerOption) (*MySQLContainer, error) {
func StartContainer(ctx context.Context, image string, opts ...MySQLContainerOption) (*MySQLContainer, error) {
req := testcontainers.ContainerRequest{
Image: image,
ExposedPorts: []string{"3306/tcp", "33060/tcp"},
Expand Down

0 comments on commit 01fc534

Please sign in to comment.