Skip to content

Commit

Permalink
CDI-468: linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-sharonov committed Jan 31, 2024
1 parent 46618c6 commit 409a2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion originshielding/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 409a2c1

Please sign in to comment.