Skip to content

Commit

Permalink
Merge pull request #20 from metalmatze/panic-fix-droplet-collector
Browse files Browse the repository at this point in the history
Fix panic in droplet collector if pagination fails
  • Loading branch information
metalmatze committed Mar 19, 2021
2 parents 896067b + bae0fff commit a2a7333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collector/droplet.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func (c *DropletCollector) Collect(ch chan<- prometheus.Metric) {
"msg", "can't list droplets",
"err", err,
)
return
}

// append the current page's droplets to our list
Expand Down

0 comments on commit a2a7333

Please sign in to comment.