From 96fe71173abeb7ead1b621ca12ef77d916f720a7 Mon Sep 17 00:00:00 2001 From: zackzhangkai Date: Tue, 1 Dec 2020 12:50:30 +0800 Subject: [PATCH] fix comments Signed-off-by: zackzhangkai --- pkg/controller/destinationrule/destinationrule_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/destinationrule/destinationrule_controller.go b/pkg/controller/destinationrule/destinationrule_controller.go index 29d8c596..de82664f 100644 --- a/pkg/controller/destinationrule/destinationrule_controller.go +++ b/pkg/controller/destinationrule/destinationrule_controller.go @@ -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 -- GitLab