Allow to specify etcd URLs for OSDs with http://, do not die with a strange error if -etcd option is missing for fio

This commit is contained in:
Vitaliy Filippov
2021-03-16 12:48:26 +03:00
parent 88671cf745
commit 9ac7e75178
5 changed files with 32 additions and 16 deletions
+2
View File
@@ -49,6 +49,8 @@ std::vector<std::string> getifaddr_list(bool include_v6 = false);
uint64_t stoull_full(const std::string & str, int base = 10);
std::string strtolower(const std::string & in);
void http_request(timerfd_manager_t *tfd, const std::string & host, const std::string & request,
const http_options_t & options, std::function<void(const http_response_t *response)> callback);