Skip to content

Commit

Permalink
refactor(plugins/mysql): use new AppendArgs function
Browse files Browse the repository at this point in the history
Signed-off-by: James Neill <[email protected]>
  • Loading branch information
jmsnll committed Jan 15, 2025
1 parent bddf5a4 commit f45830f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mysql/database_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func DatabaseCredentials() schema.CredentialType {
Optional: true,
},
},
DefaultProvisioner: provision.TempFile(mysqlConfig, provision.Filename("my.cnf"), provision.AddArgs("--defaults-file={{ .Path }}")),
DefaultProvisioner: provision.TempFile(mysqlConfig, provision.Filename("my.cnf"), provision.AppendArgs("--defaults-file={{ .Path }}")),
Importer: importer.TryAll(
TryMySQLConfigFile("/etc/my.cnf"),
TryMySQLConfigFile("/etc/mysql/my.cnf"),
Expand Down

0 comments on commit f45830f

Please sign in to comment.