From 76192bb1bd49c25bb9f0f2f105e2e8d06ab23341 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 17 Aug 2021 14:19:32 +0200 Subject: GC usages of fileSourceHost --- config-model/src/main/java/com/yahoo/config/model/test/MockRoot.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'config-model/src/main/java/com/yahoo/config/model/test/MockRoot.java') diff --git a/config-model/src/main/java/com/yahoo/config/model/test/MockRoot.java b/config-model/src/main/java/com/yahoo/config/model/test/MockRoot.java index 12b6f902770..ad3e501d3f2 100644 --- a/config-model/src/main/java/com/yahoo/config/model/test/MockRoot.java +++ b/config-model/src/main/java/com/yahoo/config/model/test/MockRoot.java @@ -66,7 +66,7 @@ public class MockRoot extends AbstractConfigProducerRoot { super(rootConfigId); hostSystem = new HostSystem(this, "hostsystem", deployState.getProvisioner(), deployState.getDeployLogger()); this.deployState = deployState; - fileDistributor = new FileDistributor(deployState.getFileRegistry().fileSourceHost()); + fileDistributor = new FileDistributor(); } public FileDistributionConfigProducer getFileDistributionConfigProducer() { @@ -149,8 +149,7 @@ public class MockRoot extends AbstractConfigProducerRoot { try { Document doc = XmlHelper.getDocumentBuilder().parse(new InputSource(new StringReader(servicesXml))); - setAdmin(new DomAdminV2Builder(ConfigModelContext.ApplicationType.DEFAULT, deployState.getFileRegistry().fileSourceHost(), - false, new ArrayList<>()). + setAdmin(new DomAdminV2Builder(ConfigModelContext.ApplicationType.DEFAULT, false, new ArrayList<>()). build(deployState, this, XML.getChildren(doc.getDocumentElement(), "admin").get(0))); } catch (SAXException | IOException e) { throw new RuntimeException(e); -- cgit v1.2.3