diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-15 00:08:03 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-15 00:08:03 +0100 |
commit | f4a0aa78d9531e7fd068784183dab9993284cdfc (patch) | |
tree | 9038d1f065db339023d60edf24849535af971530 /storage | |
parent | 8c7fdef8d73897efad7585729e8d2e221a5fc2ce (diff) |
Revert typecasting of variables sent to JsonStream, instead assume that
JsonStream will get overloads for the relevant fundamental types.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp | 4 |
1 files changed, 2 insertions, 2 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 bf7468d4c7f..3a588179eb9 100644 --- a/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp +++ b/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp @@ -38,8 +38,8 @@ writeBucketSpacesStats(vespalib::JsonStream& stream, stream << Object() << "name" << elem.first; if (elem.second.valid()) { stream << "buckets" << Object() - << "total" << static_cast<uint64_t>(elem.second.bucketsTotal()) - << "pending" << static_cast<uint64_t>(elem.second.bucketsPending()) + << "total" << elem.second.bucketsTotal() + << "pending" << elem.second.bucketsPending() << End(); } stream << End(); |