Chore: use any rather than interface{} (#74066)

This commit is contained in:
Ryan McKinley
2023-08-30 18:46:47 +03:00
committed by GitHub
parent 3e272d2bda
commit 025b2f3011
525 changed files with 2528 additions and 2528 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ var ConversionError = errutil.BadRequest("sse.readDataError").MustTemplate(
func MakeConversionError(refID string, err error) error {
data := errutil.TemplateData{
// Conversion errors should only have meta information in errors
Public: map[string]interface{}{
Public: map[string]any{
"refId": refID,
"error": err.Error(),
},
@@ -42,7 +42,7 @@ func MakeQueryError(refID, datasourceUID string, err error) error {
}
data := errutil.TemplateData{
Public: map[string]interface{}{
Public: map[string]any{
"refId": refID,
"datasourceUID": datasourceUID,
"error": pErr.Error(),