Add helper functions and default parameters
Added some helper functions into the MaxScale class and default parameters into the connection creation functions. Also made the ip() function const correct.
This commit is contained in:
@ -93,7 +93,7 @@ public:
|
||||
*
|
||||
* @return The current IP address
|
||||
*/
|
||||
char* ip(int i) const;
|
||||
const char* ip(int i = 0) const;
|
||||
|
||||
/**
|
||||
* @brief Generate command line to execute command on the node via ssh
|
||||
|
||||
Reference in New Issue
Block a user