Skip to content

Commit fdf543b

Browse files
author
Sebastian Gumprich
committed
fix wrong parameter in new dynamic determination
Signed-off-by: Sebastian Gumprich <[email protected]>
1 parent 20967f0 commit fdf543b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controls/mysql_conf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
command("mysql -u#{user} -p#{pass} -sN -e \"select @@GLOBAL.datadir\";").stdout.strip
3030
end
3131

32-
mysql_log_file = if mysql_conf.params.mysqld && mysql_conf.params.mysqld.log_error
33-
mysql_conf.params.mysqld.log_error
32+
mysql_log_file = if mysql_conf.params.mysqld && mysql_conf.params.mysqld['log-error']
33+
mysql_conf.params.mysqld['log-error']
3434
else
3535
command("mysql -u#{user} -p#{pass} -sN -e \"select @@GLOBAL.log_error\";").stdout.strip
3636
end

0 commit comments

Comments
 (0)