Skip to content

Commit

Permalink
revert to status update to support 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhu committed Feb 25, 2022
1 parent 4e4a482 commit 88f9893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/ehpa/hpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (c *EffectiveHPAController) CreateHPA(ctx context.Context, ehpa *autoscalin
err = c.Client.Create(ctx, hpa)
if err != nil {
c.Recorder.Event(ehpa, v1.EventTypeNormal, "FailedCreateHPA", err.Error())
klog.Errorf("Failed to create HorizontalPodAutoscaler, error %v", hpa, err)
klog.Errorf("Failed to create HorizontalPodAutoscaler %s, error %v", klog.KObj(hpa), err)
return nil, err
}

Expand Down

0 comments on commit 88f9893

Please sign in to comment.