Artem Harutyunyan created MESOS-3023:
----------------------------------------
Summary: Abstracting out the pattern for URL generation
Key: MESOS-3023
URL: https://issues.apache.org/jira/browse/MESOS-3023
Project: Mesos
Issue Type: Task
Reporter: Artem Harutyunyan
Priority: Minor
fetcher_test.cpp uses the following code for generating URLs:
net::getHostname(process.self().address.ip).get() + ":" +
stringify(process.self().address.port) + "/" + process.self().id
it would be good to isolate that code in a function, and replace the code above
with something like:
string url = "http://" + endpoint_url(process, "uri_test");
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)