Skip to content

Commit

Permalink
fix: remove duplicate merge artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Apr 24, 2021
1 parent df5abe4 commit d35eae8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ func (metrics *Metrics) QueueIsEmpty() bool {
return len(metrics.channel) == 0
}

// QueueIsEmpty checks whether any messages are enqueued in the channel
func (metrics *Metrics) QueueIsEmpty() bool {
return len(metrics.channel) == 0
}

// Register registers metrics for an executed scan
func (metrics *Metrics) Register(metric *Metric) {
metrics.channel <- metric
Expand Down

0 comments on commit d35eae8

Please sign in to comment.