Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Mar 17, 2024
1 parent c8c096d commit 1427aa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/metrics/crawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func (s *CrawlerServiceMetrics) ProcessIPASNMapping(ips *rpc.GetIPsAfterTimestam
for _, ip := range ipresult {
asn, err := s.GetASNForIP(ip)
if err != nil {
log.Debug("Unable to get ASN for IP %s\n", ip)
log.Debugf("Unable to get ASN for IP %s\n", ip)
continue
}

Expand Down
1 change: 1 addition & 0 deletions internal/metrics/promhandler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package metrics

// Everything in here is to support making a new prometheus registry and having the http endpoint pick it up seamlessly

import (
Expand Down

0 comments on commit 1427aa7

Please sign in to comment.