Fix typo in server resource
The 'statistics' was mistakenly written as 'statictics'.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user