Merge pull request #113471 from ncdc/gc-contextual-logging

garbagecollector: use contextual logging
This commit is contained in:
Kubernetes Prow Robot
2023-03-10 04:34:39 -08:00
committed by GitHub
8 changed files with 253 additions and 123 deletions

View File

@@ -2013,7 +2013,7 @@ func createGC(ctx context.Context, t *testing.T, restConfig *restclient.Config,
restMapper.Reset()
}, syncPeriod, ctx.Done())
go gc.Run(ctx, 1)
go gc.Sync(clientSet.Discovery(), syncPeriod, ctx.Done())
go gc.Sync(ctx, clientSet.Discovery(), syncPeriod)
}
return startGC
}