summaryrefslogtreecommitdiffstats
path: root/configserver/src/main
diff options
context:
space:
mode:
authorOla Aunrønning <ola.aunroe@gmail.com>2018-09-11 13:14:42 +0200
committerOla Aunrønning <ola.aunroe@gmail.com>2018-09-11 13:14:42 +0200
commitb5e9a0a480035483bab918998ca20c5cb94d91dd (patch)
tree14f25775d9fd45f3ee4e4765ba3979111f97e73a /configserver/src/main
parentd6a5fe73bfc19929b51c1114caaa78e4187e7eae (diff)
hostname -> URI
Diffstat (limited to 'configserver/src/main')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
index 3a26076f573..9c9c7b30748 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
@@ -53,7 +53,6 @@ import com.yahoo.vespa.config.server.session.SilentDeployLogger;
import com.yahoo.vespa.config.server.tenant.Rotations;
import com.yahoo.vespa.config.server.tenant.Tenant;
import com.yahoo.vespa.config.server.tenant.TenantRepository;
-import com.yahoo.vespa.model.VespaModel;
import java.io.File;
import java.io.IOException;
@@ -485,7 +484,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
// ---------------- Logs ----------------------------------------------------------------
public HttpResponse getLogs(ApplicationId applicationId) {
- String logServerHostName = getLogServerHostname(applicationId);
+ String logServerHostName = getLogServerURI(applicationId);
LogRetriever logRetriever = new LogRetriever();
return logRetriever.getLogs(logServerHostName);
}
@@ -703,7 +702,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
}
}
- private String getLogServerHostname(ApplicationId applicationId) {
+ private String getLogServerURI(ApplicationId applicationId) {
Application application = getApplication(applicationId);
Collection<HostInfo> hostInfos = application.getModel().getHosts();