diff --git a/cloud-controller-manager/do/resources.go b/cloud-controller-manager/do/resources.go index a9a48c33b..aff20ee5d 100644 --- a/cloud-controller-manager/do/resources.go +++ b/cloud-controller-manager/do/resources.go @@ -143,7 +143,7 @@ func (r *ResourcesController) syncTags() error { defer cancel() svcs, err := r.svcLister.List(labels.Everything()) - if err != err { + if err != nil { return fmt.Errorf("failed to list services: %s", err) }