diff --git a/app/discovery/provider/consulcatalog/client.go b/app/discovery/provider/consulcatalog/client.go index 981225e..071f77c 100644 --- a/app/discovery/provider/consulcatalog/client.go +++ b/app/discovery/provider/consulcatalog/client.go @@ -40,7 +40,7 @@ func NewClient(address string, httpClient HTTPClient) ConsulClient { // Get implements ConsulClient interface and returns consul services list, // which have any tag with 'reproxy.' prefix func (cl *consulClient) Get() ([]consulService, error) { - var result []consulService + var result []consulService //nolint:prealloc // We cannot calc slice size serviceNames, err := cl.getServiceNames() if err != nil {