MXS-2880 Fix typo in json output

"seconds_behing_master" -> "seconds_behind_master"
This commit is contained in:
Esa Korhonen
2020-02-06 15:48:54 +02:00
parent 39cf6a8000
commit ef769573e4

View File

@ -74,7 +74,7 @@ json_t* SlaveStatus::to_json() const
json_string(slave_io_to_string(slave_io_running).c_str()));
json_object_set_new(result, "slave_sql_running", json_string(slave_sql_running ? "Yes" : "No"));
json_object_set_new(result,
"seconds_behing_master",
"seconds_behind_master",
seconds_behind_master == MXS_RLAG_UNDEFINED ? json_null() :
json_integer(seconds_behind_master));
json_object_set_new(result, "master_server_id", json_integer(master_server_id));