From d9849f34a6c6fb17960089dca4febcc37f4ec2ad Mon Sep 17 00:00:00 2001 From: Jack Palmer Date: Wed, 5 Apr 2023 09:43:17 +0100 Subject: [PATCH] chore: Update doc comments for HostDiscovery Signed-off-by: Jack Palmer --- packages/backend-common/src/discovery/HostDiscovery.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend-common/src/discovery/HostDiscovery.ts b/packages/backend-common/src/discovery/HostDiscovery.ts index 87089a0895..abac4413be 100644 --- a/packages/backend-common/src/discovery/HostDiscovery.ts +++ b/packages/backend-common/src/discovery/HostDiscovery.ts @@ -22,7 +22,7 @@ type Target = string | { internal: string; external: string }; /** * HostDiscovery is a basic PluginEndpointDiscovery implementation - * that assumes that all plugins are hosted in a single deployment. + * that can handle plugins that are hosted in a single or multiple deployments. * * The deployment may be scaled horizontally, as long as the external URL * is the same for all instances. However, internal URLs will always be @@ -37,7 +37,7 @@ export class HostDiscovery implements PluginEndpointDiscovery { * discovering the external URL, and the `.listen` and `.https` config * for the internal one. * - * Can be overridden in config by providing a target and corresponding plugins in `discovery.endpoint`. + * Can be overridden in config by providing a target and corresponding plugins in `discovery.endpoints`. * eg. * ```yaml * discovery: