MXS-2329 Change warning into info
Currently it's too laborious to use duration suffixes when saving generated configs and also to handle suffixes when changes are made dynamically using maxctrl. It will be trivial to do that when the new configuration mechanism has been taken into use everywhere. That will not happen before MaxScale 2.5. So, in MaxScale 2.4 duration suffixes will be accepted in manually created configuration files, but no warning will be logged if a suffix is not used.
This commit is contained in:
@ -3383,8 +3383,8 @@ void write_master_config(FILE* config_file, const ChangeMasterConfig& config)
|
||||
fprintf(config_file, "master_tls_version=%s\n", config.ssl_version.c_str());
|
||||
}
|
||||
|
||||
fprintf(config_file, "master_heartbeat_period=%ds\n", config.heartbeat_period);
|
||||
fprintf(config_file, "master_connect_retry=%ds\n", config.connect_retry);
|
||||
fprintf(config_file, "master_heartbeat_period=%d\n", config.heartbeat_period);
|
||||
fprintf(config_file, "master_connect_retry=%d\n", config.connect_retry);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user