mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #67052 from liangwenguo/optimize_log
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. make the log about HPA more readable **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
32cf28f642
@ -262,7 +262,7 @@ func (a *HorizontalController) reconcileKey(key string) error {
|
|||||||
|
|
||||||
hpa, err := a.hpaLister.HorizontalPodAutoscalers(namespace).Get(name)
|
hpa, err := a.hpaLister.HorizontalPodAutoscalers(namespace).Get(name)
|
||||||
if errors.IsNotFound(err) {
|
if errors.IsNotFound(err) {
|
||||||
glog.Infof("Horizontal Pod Autoscaler has been deleted %v", key)
|
glog.Infof("Horizontal Pod Autoscaler %s has been deleted in %s", name, namespace)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user