[release-10.4.17] Chore: Bump Go version to 1.23.7 (#101565)

* Chore: Bump Go version to 1.23.7

* Chore: Bump golangci-lint version to match Go version

* Chore: Fix new linting errors from Go upgrade

* Chore: Fix OpenAPI step in CI

* Chore: Fix OpenAPI spec diffs
This commit is contained in:
Matheus Macabu
2025-03-05 09:48:13 +01:00
committed by GitHub
parent bc0852b1f1
commit 9f4ef23c33
55 changed files with 242 additions and 202 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ func (e *DataSourceHandler) executeQuery(query backend.DataQuery, wg *sync.WaitG
if theErr, ok := r.(error); ok {
queryResult.dataResponse.Error = theErr
} else if theErrString, ok := r.(string); ok {
queryResult.dataResponse.Error = fmt.Errorf(theErrString)
queryResult.dataResponse.Error = errors.New(theErrString)
} else {
queryResult.dataResponse.Error = fmt.Errorf("unexpected error - %s", e.userError)
}