Update installation.md

Signed-off-by: Keran Yang <yangkr920208@gmail.com>
This commit is contained in:
Keran Yang
2023-12-13 21:11:33 -05:00
committed by GitHub
parent 973bc8cf90
commit 7ebc6028d6
+1 -1
View File
@@ -130,7 +130,7 @@ export class CustomClustersSupplier implements KubernetesClustersSupplier {
static create(refreshInterval: Duration) {
const clusterSupplier = new CustomClustersSupplier();
// setup refresh, e.g. using a copy of https://github.com/backstage/backstage/blob/master/plugins/search-backend-node/src/runPeriodically.ts
// setup refresh, e.g. using a copy of https://github.com/backstage/backstage/blob/master/plugins/kubernetes-backend/src/service/runPeriodically.ts
runPeriodically(
() => clusterSupplier.refreshClusters(),
refreshInterval.toMillis(),