Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Use [mariadb] as group for MariaDB server
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontes11 committed Jul 18, 2023
1 parent 307ecec commit 3196a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (c *ConfigFile) Marshal(podName, mariadbRootPassword string) ([]byte, error
if !galera.Enabled {
return nil, errors.New("MariaDB Galera not enabled, unable to render config file")
}
tpl := createTpl("galera", `[mysqld]
tpl := createTpl("galera", `[mariadb]
bind-address=0.0.0.0
default_storage_engine=InnoDB
binlog_format=row
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestConfigMarshal(t *testing.T) {
podName: "mariadb-galera-0",
mariadbRootPassword: "mariadb",
//nolint:lll
wantConfig: `[mysqld]
wantConfig: `[mariadb]
bind-address=0.0.0.0
default_storage_engine=InnoDB
binlog_format=row
Expand Down Expand Up @@ -138,7 +138,7 @@ wsrep_sst_method="rsync"
podName: "mariadb-galera-1",
mariadbRootPassword: "mariadb",
//nolint:lll
wantConfig: `[mysqld]
wantConfig: `[mariadb]
bind-address=0.0.0.0
default_storage_engine=InnoDB
binlog_format=row
Expand Down

0 comments on commit 3196a93

Please sign in to comment.