make the log more readable

This commit is contained in:
liangwenguo 2018-08-07 10:00:31 +08:00
parent 6fe7f9f4b7
commit 8f8a7bb83f

View File

@ -262,7 +262,7 @@ func (a *HorizontalController) reconcileKey(key string) error {
hpa, err := a.hpaLister.HorizontalPodAutoscalers(namespace).Get(name)
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
}