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

This commit is contained in:
Ryan McKinley authored and GitHub committed 2023-08-30 18:46:47 +03:00
1 parent 3e272d2bda
commit 025b2f3011
525 files changed
+2528 -2528

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ func (proxy *DataSourceProxy) director(req *http.Request) {
proxyutil.ClearCookieHeader(req, proxy.ds.AllowedCookies(), []string{proxy.cfg.LoginCookieName})
req.Header.Set("User-Agent", proxy.cfg.DataProxyUserAgent)
jsonData := make(map[string]interface{})
jsonData := make(map[string]any)
if proxy.ds.JsonData != nil {
jsonData, err = proxy.ds.JsonData.Map()
if err != nil {