Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1641 from grafana/fix_bug_in_returned_deleted_counts
Browse files Browse the repository at this point in the history
bugfix: return correct counts when deleting multiple tagged series
  • Loading branch information
Dieterbe authored Jan 27, 2020
2 parents f510d69 + 0f7b6b5 commit 71a1b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (s *Server) indexTagDelSeries(ctx *middleware.Context, request models.Index
}

deleted := s.MetricIndex.DeleteTagged(request.OrgId, query)
res.Count = len(deleted)
res.Count += len(deleted)
}

response.Write(ctx, response.NewMsgp(200, res))
Expand Down

0 comments on commit 71a1b01

Please sign in to comment.