fix vs bug

This commit is contained in:
Jeff
2019-03-29 14:59:29 +08:00
committed by zryfish
parent 2e1dc6a7b5
commit 5392478077
2 changed files with 8 additions and 5 deletions

View File

@@ -287,8 +287,10 @@ func (v *VirtualServiceController) syncService(key string) error {
Labels: util.ExtractApplicationLabels(&service.ObjectMeta),
},
}
} else {
log.Error(err, "cannot get virtualservice ", "namespace", namespace, "name", appName)
return err
}
return nil
}
vs := currentVirtualService.DeepCopy()