mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 02:12:29 +08:00
PublicDashboards: Variables refactor (#73476)
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com> Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
@ -36,7 +36,7 @@ var ResourceCachingRequestHistogram = prometheus.NewHistogramVec(prometheus.Hist
|
||||
}, []string{"plugin_id", "cache"})
|
||||
|
||||
func getQueryType(req *contextmodel.ReqContext) string {
|
||||
if req.IsPublicDashboardView {
|
||||
if req.IsPublicDashboardView() {
|
||||
return QueryPubdash
|
||||
}
|
||||
return QueryDashboard
|
||||
|
Reference in New Issue
Block a user