Chore: Fix linting error in release branch [10.4.17] (#101091)

balm0mma/ run goimports -w pkg/services/dashboards/service/dashboard_service.go
pull/101151/head
Jev Forsberg 10 months ago committed by GitHub
parent 291257175f
commit 272405d0ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/services/dashboards/service/dashboard_service.go

@ -118,7 +118,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