Make start_node parameters const

The second parameter can be `const char*` as it is not modified. This
fixes a compiler warning.
This commit is contained in:
Markus Mäkelä
2017-12-20 21:06:19 +02:00
parent 26751ae44f
commit c9aa504f50
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ int Mariadb_nodes::stop_node(int node)
return ssh_node(node, stop_db_command[node], true);
}
int Mariadb_nodes::start_node(int node, char * param)
int Mariadb_nodes::start_node(int node, const char* param)
{
char cmd[1024];
if (v51)