Skip to content

Commit 77d8961

Browse files
committed
refactor(plugins/mysql): use new AppendArgs function
1 parent 67deaba commit 77d8961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/mysql/database_credentials.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func DatabaseCredentials() schema.CredentialType {
4343
Optional: true,
4444
},
4545
},
46-
DefaultProvisioner: provision.TempFile(mysqlConfig, provision.Filename("my.cnf"), provision.AddArgs("--defaults-file={{ .Path }}")),
46+
DefaultProvisioner: provision.TempFile(mysqlConfig, provision.Filename("my.cnf"), provision.AppendArgs("--defaults-file={{ .Path }}")),
4747
Importer: importer.TryAll(
4848
TryMySQLConfigFile("/etc/my.cnf"),
4949
TryMySQLConfigFile("/etc/mysql/my.cnf"),

0 commit comments

Comments
 (0)