From 16f2eadfd0254519da6dfd01af42e8ac5496c3f4 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 27 Oct 2021 14:29:32 +0300 Subject: [PATCH] storage_service: replace seastar::sprint() with fmt::format() sprint() is obsolete. --- service/storage_service.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/storage_service.cc b/service/storage_service.cc index 0286beda66..75710d313b 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -666,7 +666,7 @@ void storage_service::bootstrap() { } } else { // Wait until we know tokens of existing node before announcing replacing status. - set_mode(mode::JOINING, sprint("Wait until local node knows tokens of peer nodes"), true); + set_mode(mode::JOINING, fmt::format("Wait until local node knows tokens of peer nodes"), true); _gossiper.wait_for_range_setup().get(); auto replace_addr = _db.local().get_replace_address(); if (replace_addr) { @@ -1484,7 +1484,7 @@ future<> storage_service::check_for_endpoint_collision(std::unordered_set