TechDocs: Use discovery instead of config to read base url

This commit is contained in:
Himanshu Mishra
2020-11-17 21:03:56 +01:00
parent c01bf361a4
commit 3b314807c6
6 changed files with 32 additions and 23 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export default async function createPlugin({
const urlPreparer = new UrlPreparer(reader, logger);
preparers.register('url', urlPreparer);
const publisher = new LocalPublish(logger, config);
const publisher = new LocalPublish(logger, discovery);
const dockerClient = new Docker();