Fix typo in server resource

The 'statistics' was mistakenly written as 'statictics'.
This commit is contained in:
Markus Mäkelä
2017-06-26 23:21:15 +03:00
parent c91811bfca
commit 27d8212c51
3 changed files with 9 additions and 9 deletions

View File

@ -1459,7 +1459,7 @@ static json_t* server_json_attributes(const SERVER* server)
json_object_set_new(stats, "total_connections", json_integer(server->stats.n_connections));
json_object_set_new(stats, "active_operations", json_integer(server->stats.n_current_ops));
json_object_set_new(attr, "statictics", stats);
json_object_set_new(attr, "statistics", stats);
return attr;
}

View File

@ -82,7 +82,7 @@ const char* test1_json =
" 3002,"
" 3003"
" ],"
" \"statictics\": {"
" \"statistics\": {"
" \"connections\": 0,"
" \"total_connections\": 0,"
" \"active_operations\": 0"
@ -136,7 +136,7 @@ const char* test1_json =
" \"master_id\": 3000,"
" \"replication_depth\": 1,"
" \"slaves\": [],"
" \"statictics\": {"
" \"statistics\": {"
" \"connections\": 0,"
" \"total_connections\": 0,"
" \"active_operations\": 0"
@ -190,7 +190,7 @@ const char* test1_json =
" \"master_id\": 3000,"
" \"replication_depth\": 1,"
" \"slaves\": [],"
" \"statictics\": {"
" \"statistics\": {"
" \"connections\": 0,"
" \"total_connections\": 0,"
" \"active_operations\": 0"
@ -244,7 +244,7 @@ const char* test1_json =
" \"master_id\": 3000,"
" \"replication_depth\": 1,"
" \"slaves\": [],"
" \"statictics\": {"
" \"statistics\": {"
" \"connections\": 0,"
" \"total_connections\": 0,"
" \"active_operations\": 0"