Skip to content

Commit 4b00590

Browse files
jespinoona-agent
andcommitted
fix(mysql): fix gci formatting issues
Remove extra blank lines to comply with gci linter requirements. Co-authored-by: Ona <no-reply@ona.com>
1 parent d5c6a93 commit 4b00590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/mysql/mysql.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ func WithDefaultCredentials() testcontainers.CustomizeRequestOption {
3030
return func(req *testcontainers.GenericContainerRequest) error {
3131
username := req.Env["MYSQL_USER"]
3232
password := req.Env["MYSQL_PASSWORD"]
33-
33+
3434
if strings.EqualFold(rootUser, username) {
3535
// When using root user, remove MYSQL_USER and MYSQL_PASSWORD
3636
delete(req.Env, "MYSQL_USER")
3737
delete(req.Env, "MYSQL_PASSWORD")
38-
38+
3939
// Set root password or allow empty password
4040
if len(password) != 0 && password != "" {
4141
req.Env["MYSQL_ROOT_PASSWORD"] = password

0 commit comments

Comments
 (0)