Skip to content

Commit a9fade1

Browse files
committed
set the logger in controller runtime
Signed-off-by: Edmund Ochieng <[email protected]>
1 parent dea1303 commit a9fade1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: internal/rukpak/convert/registryv1_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ func containsObject(obj unstructured.Unstructured, result []client.Object) clien
459459

460460
func BenchmarkRegistryV1ToHelmChart(b *testing.B) {
461461
b.StopTimer()
462+
462463
cacheDir := b.TempDir()
463464
mgr, _ := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{})
464465
unpacker, _ := source.NewDefaultUnpacker(mgr, "default", cacheDir)
@@ -471,6 +472,7 @@ func BenchmarkRegistryV1ToHelmChart(b *testing.B) {
471472
),
472473
)
473474

475+
log.SetLogger(logger)
474476
ctx := log.IntoContext(context.Background(), logger)
475477

476478
bundleSource := &source.BundleSource{

0 commit comments

Comments
 (0)