diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2017-10-13 08:59:28 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2017-10-13 13:16:40 +0000 |
commit | 141768384af166828c96193d9bd09187f08272a7 (patch) | |
tree | 2b8f508d3e52934d8a8e05555956f7836858921c /logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h | |
parent | 16935169b8064d78c341b1db765f2e7d0852cba6 (diff) |
refactor child startup
Diffstat (limited to 'logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h')
-rw-r--r-- | logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h index d6c7f2e2076..0dcf2be7058 100644 --- a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h +++ b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h @@ -3,13 +3,13 @@ #include <vespa/config/config.h> #include <vespa/config-logforwarder.h> +#include "child-handler.h" using cloud::config::LogforwarderConfig; class CfHandler { private: - bool _childRunning; - void startChild(const vespalib::string &prefix); + ChildHandler childHandler; config::ConfigSubscriber _subscriber; config::ConfigHandle<LogforwarderConfig>::UP _handle; void subscribe(const std::string & configId, uint64_t timeoutMS); |