diff --git a/manager/pod_scaler_test.go b/manager/pod_scaler_test.go index 8b1f978..e49dc04 100644 --- a/manager/pod_scaler_test.go +++ b/manager/pod_scaler_test.go @@ -81,6 +81,7 @@ func TestHandlePod(t *testing.T) { client := fake.NewClientBuilder().WithScheme(scheme).Build() ps := &PodScaler{ client: client, + log: slog.Default(), } initialPod := newPod(corev1.ResourceList{corev1.ResourceCPU: runningCPU, corev1.ResourceMemory: runningMemory})