Commit c4dc48f7 authored by Geoff Simmons's avatar Geoff Simmons

Remove an unnecessary else block (pointed out by golint).

parent c24bacb8
...@@ -324,10 +324,9 @@ func (worker *NamespaceWorker) addOrUpdateIng(ing *extensions.Ingress) error { ...@@ -324,10 +324,9 @@ func (worker *NamespaceWorker) addOrUpdateIng(ing *extensions.Ingress) error {
string(ing.ObjectMeta.UID), vclSpec) string(ing.ObjectMeta.UID), vclSpec)
if err != nil { if err != nil {
return err return err
} else {
worker.log.Debugf("Updated Ingress key=%s uuid=%s svc=%s: %+v",
ingKey, string(ing.ObjectMeta.UID), svcKey, vclSpec)
} }
worker.log.Debugf("Updated Ingress key=%s uuid=%s svc=%s: %+v", ingKey,
string(ing.ObjectMeta.UID), svcKey, vclSpec)
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment