Skip to content

Commit 88f9893

Browse files
committed
revert to status update to support 1.14
1 parent 4e4a482 commit 88f9893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/ehpa/hpa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (c *EffectiveHPAController) CreateHPA(ctx context.Context, ehpa *autoscalin
6868
err = c.Client.Create(ctx, hpa)
6969
if err != nil {
7070
c.Recorder.Event(ehpa, v1.EventTypeNormal, "FailedCreateHPA", err.Error())
71-
klog.Errorf("Failed to create HorizontalPodAutoscaler, error %v", hpa, err)
71+
klog.Errorf("Failed to create HorizontalPodAutoscaler %s, error %v", klog.KObj(hpa), err)
7272
return nil, err
7373
}
7474

0 commit comments

Comments
 (0)