From 155bf9569b68915339fb6caefa99a954600b7ba6 Mon Sep 17 00:00:00 2001 From: John Gates Date: Tue, 30 Jul 2024 16:10:01 -0700 Subject: [PATCH] Reformat. --- src/czar/Czar.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/czar/Czar.cc b/src/czar/Czar.cc index 7590eb2fc..d7e588c34 100644 --- a/src/czar/Czar.cc +++ b/src/czar/Czar.cc @@ -128,14 +128,14 @@ void registryUpdateLoop(shared_ptr const& czarConfig) { } } - // &&& doc void registryWorkerInfoLoop(shared_ptr const& czarConfig) { // Get worker information from the registry auto const method = http::Method::GET; - string const url = "http://" + czarConfig->replicationRegistryHost() + ":" + - to_string(czarConfig->replicationRegistryPort()) - + "/services?instance_id=" + czarConfig->replicationInstanceId(); // &&& what is this value supposed to be to get worker info? + string const url = + "http://" + czarConfig->replicationRegistryHost() + ":" + + to_string(czarConfig->replicationRegistryPort()) + "/services?instance_id=" + + czarConfig->replicationInstanceId(); // &&& what is this value supposed to be to get worker info? vector const headers = {"Content-Type: application/json"}; json request = nlohmann::json(); string const requestContext = "Czar: '" + http::method2string(method) + "' request to '" + url + "'";