Move json_is_true/json_is_false to json_util.cpp

This commit is contained in:
Vitaliy Filippov
2024-10-12 00:40:39 +03:00
parent c9ccc790ec
commit a03508320e
16 changed files with 29 additions and 45 deletions
+1
View File
@@ -5,6 +5,7 @@
#include "cluster_client.h"
#include "pg_states.h"
#include "str_util.h"
#include "json_util.h"
struct cli_fix_t
{
-3
View File
@@ -21,6 +21,3 @@ template<class T> void remove_duplicates(std::vector<T> & ret)
}
ret.resize(j+1);
}
// from http_client.cpp...
bool json_is_false(const json11::Json & val);
+1
View File
@@ -4,6 +4,7 @@
#include "cli.h"
#include "cluster_client.h"
#include "str_util.h"
#include "json_util.h"
#include "http_client.h"
// Reweight OSD, change tags or set noout flag
+1
View File
@@ -4,6 +4,7 @@
#include "cli.h"
#include "cluster_client.h"
#include "str_util.h"
#include "json_util.h"
#include "pg_states.h"
#include "http_client.h"