Skip to content

Commit

Permalink
issue-85: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryk-dk committed Dec 20, 2024
1 parent 29a0e7b commit cb2ba26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/plugin/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (

const (
health = "/health"
settingsHttpMethod = "httpMethod"
settingsHTTPMethod = "httpMethod"
settingsCustomQueryParameters = "customQueryParameters"
httpHeaderName = "httpHeaderName"
httpHeaderValue = "httpHeaderValue"
Expand Down Expand Up @@ -186,7 +186,7 @@ func (d *Datasource) datasourceQuery(ctx context.Context, q *Query, isStream boo
return nil, fmt.Errorf("failed to parse datasource settings: %w", err)
}

httpMethod := settings[settingsHttpMethod]
httpMethod := settings[settingsHTTPMethod]
if httpMethod == "" {
httpMethod = http.MethodPost
}
Expand Down

0 comments on commit cb2ba26

Please sign in to comment.