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
@@ -344,13 +344,13 @@ func validateDatasourceV1(t *testing.T, dsCfg *configs) {
validateDatasourceV0(t, dsCfg)
ds := dsCfg.Datasources[0]
require.Equal(t, ds.UID, "test_uid")
require.Equal(t, []map[string]interface{}{{
require.Equal(t, []map[string]any{{
"targetUID": "a target",
"label": "a label",
"description": "a description",
"config": map[string]interface{}{
"config": map[string]any{
"field": "fieldName",
"target": map[string]interface{}{
"target": map[string]any{
"target": "test.query",
},
},