Browse Source

Remove http_client.h include from etcd_state_client.h

rel-0.5
Vitaliy Filippov 4 months ago
parent
commit
3e162d95a0
  1. 1
      src/cluster_client.cpp
  2. 4
      src/etcd_state_client.h
  3. 1
      src/osd.cpp
  4. 1
      src/osd_cluster.cpp

1
src/cluster_client.cpp

@ -2,6 +2,7 @@
// License: VNPL-1.1 or GNU GPL-2.0+ (see README.md for details)
#include <stdexcept>
#include <assert.h>
#include "cluster_client.h"
cluster_client_t::cluster_client_t(ring_loop_t *ringloop, timerfd_manager_t *tfd, json11::Json & config)

4
src/etcd_state_client.h

@ -3,8 +3,8 @@
#pragma once
#include "json11/json11.hpp"
#include "osd_id.h"
#include "http_client.h"
#include "timerfd_manager.h"
#define ETCD_CONFIG_WATCH_ID 1
@ -52,6 +52,8 @@ struct pool_config_t
std::map<pg_num_t, pg_config_t> pg_config;
};
struct websocket_t;
struct etcd_state_client_t
{
protected:

1
src/osd.cpp

@ -8,6 +8,7 @@
#include <arpa/inet.h>
#include "osd.h"
#include "http_client.h"
osd_t::osd_t(blockstore_config_t & config, ring_loop_t *ringloop)
{

1
src/osd_cluster.cpp

@ -4,6 +4,7 @@
#include "osd.h"
#include "base64.h"
#include "etcd_state_client.h"
#include "http_client.h"
#include "osd_rmw.h"
// Startup sequence:

Loading…
Cancel
Save