Chore: Fix linting error in release branch [11.4.3] (#101093)

balm0mma/ run goimports -w pkg/services/dashboards/service/dashboard_service.go
pull/100593/head^2
Jev Forsberg 5 months ago committed by GitHub
parent 5e81bb456e
commit 24b72cc7b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/services/dashboards/service/dashboard_service.go

@ -124,7 +124,7 @@ func (dr *DashboardServiceImpl) BuildSaveDashboardCommand(ctx context.Context, d
if len(dash.Title) > 5000 {
return nil, dashboards.ErrDashboardTitleTooLong
}
metrics.MFolderIDsServiceCount.WithLabelValues(metrics.Dashboard).Inc()
// nolint:staticcheck
if dash.IsFolder && dash.FolderID > 0 {

Loading…
Cancel
Save