blob: de4cea2c3688d474f7a83951a94bff7f8baef42b [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gather_introspection.h"
#include <zircon/status.h>
#include "harvester.h"
#include "src/lib/fxl/logging.h"
namespace harvester {
void GatherIntrospection::Gather() {
// TODO(smbug.com/223): Use lib inspect to get inspection data (rather than
// the test/placeholder used here).
std::string fake_json_data = "{ \"test\": 5 }";
DockyardProxyStatus status = Dockyard().SendInspectJson(
"inspect:/hub/fake/234/faux.Inspect", fake_json_data);
if (status != DockyardProxyStatus::OK) {
FXL_LOG(ERROR) << "SendSampleList failed (" << status << ")";
}
}
} // namespace harvester