Fix tunnel error logging

pull/3819/head
Calin Don 2019-03-07 11:34:46 +02:00
parent 4e69de357d
commit 229137c06b
No known key found for this signature in database
GPG Key ID: DD2D07D75E8F78F4
1 changed files with 2 additions and 2 deletions

View File

@ -103,9 +103,9 @@ func (l *loadBalancerEmulator) updateService(restClient rest.Interface, svc core
request := l.patchConverter.convert(restClient, patch)
result, err := l.requestSender.send(request)
if err != nil {
glog.Infof("Patched %s with IP %s", svc.Name, clusterIP)
} else {
glog.Errorf("error patching %s with IP %s: %s", svc.Name, clusterIP, err)
} else {
glog.Infof("Patched %s with IP %s", svc.Name, clusterIP)
}
return result, err
}