chore: Remove deprecated imports

Signed-off-by: Adam Harvey <adaharve@cisco.com>
This commit is contained in:
Adam Harvey
2023-06-14 20:42:40 -04:00
parent 77d5920485
commit ba43e4ae35
5 changed files with 10 additions and 10 deletions
@@ -22,7 +22,7 @@ import {
ExtendedHttpServer,
DefaultRootHttpRouter,
} from '@backstage/backend-app-api';
import { SingleHostDiscovery } from '@backstage/backend-common';
import { HostDiscovery } from '@backstage/backend-common';
import {
ServiceFactory,
ServiceRef,
@@ -148,7 +148,7 @@ export async function startTestBackend<
throw new Error('Test server not started yet');
}
const port = server.port();
const discovery = SingleHostDiscovery.fromConfig(
const discovery = HostDiscovery.fromConfig(
new ConfigReader({
backend: { baseUrl: `http://localhost:${port}`, listen: { port } },
}),