Merge pull request #18267 from adamdmharvey/adamdmharvey/remove-hostdiscovery-deps
chore: Remove deprecated imports
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { SingleHostDiscovery } from '@backstage/backend-common';
|
||||
import { HostDiscovery } from '@backstage/backend-common';
|
||||
import {
|
||||
coreServices,
|
||||
createServiceFactory,
|
||||
@@ -27,6 +27,6 @@ export const discoveryServiceFactory = createServiceFactory({
|
||||
config: coreServices.config,
|
||||
},
|
||||
async factory({ config }) {
|
||||
return SingleHostDiscovery.fromConfig(config);
|
||||
return HostDiscovery.fromConfig(config);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user