aboutsummaryrefslogtreecommitdiffstats
path: root/standalone-container
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-10-08 22:58:44 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2018-10-08 22:58:44 +0200
commitcebc661bb8b2ad3377b2d7595ee4ddc1e73c6324 (patch)
treea751d7b395b09d06166c8eceec0b740b93052e30 /standalone-container
parentdd70aed6d773d02a1ac19c7c3af642feeef2212f (diff)
Follow API change
Diffstat (limited to 'standalone-container')
-rw-r--r--standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerApplication.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerApplication.java b/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerApplication.java
index ae7b8356682..c1550abcf1a 100644
--- a/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerApplication.java
+++ b/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerApplication.java
@@ -251,7 +251,7 @@ public class StandaloneContainerApplication implements Application {
// such that the above and below code to finalize the container can be
// replaced by root.finalize();
- initializeContainer(container, spec);
+ initializeContainer(deployState.getDeployLogger(), container, spec);
root.freezeModelTopology();
return new Pair<>(root, container);
@@ -274,12 +274,12 @@ public class StandaloneContainerApplication implements Application {
return builder.build();
}
- private static void initializeContainer(Container container, Element spec) {
+ private static void initializeContainer(DeployLogger deployLogger, Container container, Element spec) {
HostResource host = container.getRoot().getHostSystem().getHost(Container.SINGLENODE_CONTAINER_SERVICESPEC);
container.setBasePort(VespaDomBuilder.getXmlWantedPort(spec));
container.setHostResource(host);
- container.initService();
+ container.initService(deployLogger);
}
private static Element getJDiscInServices(Element element) {