Skip to content

Commit

Permalink
Reformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgates108 authored and fritzm committed Oct 17, 2024
1 parent b18abf5 commit 155bf95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/czar/Czar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ void registryUpdateLoop(shared_ptr<cconfig::CzarConfig> const& czarConfig) {
}
}


// &&& doc
void registryWorkerInfoLoop(shared_ptr<cconfig::CzarConfig> 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<string> const headers = {"Content-Type: application/json"};
json request = nlohmann::json();
string const requestContext = "Czar: '" + http::method2string(method) + "' request to '" + url + "'";
Expand Down

0 comments on commit 155bf95

Please sign in to comment.