Merge pull request #3168 from zackzhangkai/fix_comments

fix comments
This commit is contained in:
KubeSphere CI Bot
2020-12-02 17:41:40 +08:00
committed by GitHub

View File

@@ -246,7 +246,7 @@ func (v *DestinationRuleController) syncService(key string) error {
!util.IsApplicationComponent(service.Labels) ||
!util.IsServicemeshEnabled(service.Annotations) ||
len(service.Spec.Ports) == 0 {
// services don't have enough labels to create a virtualservice
// services don't have enough labels to create a destinationrule
// or they don't have necessary labels
// or they don't have servicemesh enabled
// or they don't have any ports defined