⚗️ Do not mock URI
This commit is contained in:
parent
ee3e91f092
commit
96cf64e44e
@ -65,14 +65,9 @@ public class NodeDiskService
|
||||
}
|
||||
|
||||
private URI getURI(String ip, String port) throws URISyntaxException
|
||||
{
|
||||
String profile = ConfigProvider.getConfig().getValue("quarkus.profile", String.class);
|
||||
if ("prod".equals(profile))
|
||||
{
|
||||
return new URI(String.format("http://%s:%s", ip, port));
|
||||
}
|
||||
return new URI("http://localhost:8080");
|
||||
}
|
||||
|
||||
private NodeDiskMetrics parse(String input)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user