mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
make the log more readable
This commit is contained in:
parent
6fe7f9f4b7
commit
8f8a7bb83f
@ -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