1 #include "libaktualizr/config.h"
3 #include "utilities/config_utils.h"
5 void TelemetryConfig::updateFromPropertyTree(
const boost::property_tree::ptree& pt) {
6 CopyFromConfig(report_network,
"report_network", pt);
7 CopyFromConfig(report_config,
"report_config", pt);
10 void TelemetryConfig::writeToStream(std::ostream& out_stream)
const {
11 writeOption(out_stream, report_network,
"report_network");
12 writeOption(out_stream, report_config,
"report_config");