Alerting: Remove blank comment (#56889)

This commit is contained in:
George Robinson 2022-10-14 13:28:41 +01:00 committed by GitHub
parent 8e512de308
commit 2f85172718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,6 @@ func (s *ScreenshotImageService) NewImage(ctx context.Context, r *models.AlertRu
Timeout: screenshotTimeout, Timeout: screenshotTimeout,
} }
//
k := fmt.Sprintf("%s-%d-%s", opts.DashboardUID, opts.PanelID, opts.Theme) k := fmt.Sprintf("%s-%d-%s", opts.DashboardUID, opts.PanelID, opts.Theme)
result, err, _ := s.singleflight.Do(k, func() (interface{}, error) { result, err, _ := s.singleflight.Do(k, func() (interface{}, error) {
screenshot, err := s.limiter.Do(ctx, opts, s.screenshots.Take) screenshot, err := s.limiter.Do(ctx, opts, s.screenshots.Take)