aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp')
-rw-r--r--storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp b/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
index 918156c3048..330107e811c 100644
--- a/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
+++ b/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
@@ -17,8 +17,7 @@ DistributorHostInfoReporter::DistributorHostInfoReporter(
MinReplicaProvider& minReplicaProvider,
BucketSpacesStatsProvider& bucketSpacesStatsProvider)
: _minReplicaProvider(minReplicaProvider),
- _bucketSpacesStatsProvider(bucketSpacesStatsProvider),
- _enabled(true)
+ _bucketSpacesStatsProvider(bucketSpacesStatsProvider)
{
}
@@ -80,19 +79,13 @@ outputStorageNodes(vespalib::JsonStream& output,
void
DistributorHostInfoReporter::report(vespalib::JsonStream& output)
{
- if (!isReportingEnabled()) {
- return;
- }
-
auto minReplica = _minReplicaProvider.getMinReplica();
auto bucketSpacesStats = _bucketSpacesStatsProvider.getBucketSpacesStats();
output << "distributor" << Object();
{
output << "storage-nodes" << Array();
-
outputStorageNodes(output, minReplica, bucketSpacesStats);
-
output << End();
}
output << End();