From 409a2c1b2812563e69fb593ad6e45efc298b7a9e Mon Sep 17 00:00:00 2001 From: Anton Sharonov Date: Wed, 31 Jan 2024 17:32:35 +0400 Subject: [PATCH] CDI-468: linter fix --- originshielding/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/originshielding/service.go b/originshielding/service.go index e6c8bfc..99d579a 100644 --- a/originshielding/service.go +++ b/originshielding/service.go @@ -37,7 +37,7 @@ func (s *Service) Get(ctx context.Context, id int64) (*OriginShieldingData, erro func (s *Service) GetLocations(ctx context.Context) (*OriginShieldingLocations, error) { var origin_shielding_locations OriginShieldingLocations - if err := s.r.Request(ctx, http.MethodGet, fmt.Sprintf("/cdn/shieldingpop_v2"), nil, &origin_shielding_locations); err != nil { + if err := s.r.Request(ctx, http.MethodGet, "/cdn/shieldingpop_v2", nil, &origin_shielding_locations); err != nil { return nil, fmt.Errorf("request: %w", err) }