mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
fix: merge artifacts and broken shoutrrr tests (#929)
* test: add missing container test suite * fix broken tests * fix: remove duplicate merge artifact Co-authored-by: Simon Aronsson <simme@arcticbit.se>
This commit is contained in:
parent
dff8378778
commit
d38e52b5c6
5 changed files with 36 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue