Chore: use any rather than interface{} (#74066)
This commit is contained in:
1 parent
3e272d2bda
commit
025b2f3011
525 files changed
+2528
-2528
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user