Skip to content

Commit

Permalink
fix(check-net): remove println call in network strategy (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarn authored Dec 27, 2023
1 parent 9479077 commit 1b989b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/checks/strategies/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package strategies

import (
"context"
"fmt"
"github.com/shirou/gopsutil/v3/net"
"github.com/spectate/agent/internal/logger"
"github.com/spectate/agent/internal/shared"
Expand Down Expand Up @@ -50,7 +49,6 @@ func (s *Net) Run(ctx context.Context, dataCh chan<- []*pb.MetricsPayload_Metric

// We call a network interface "iface" to avoid confusion with the Go interface type
for _, ioCount := range netIOCounters {
fmt.Println(ioCount)
if s.isExcluded(ioCount.Name) {
continue
}
Expand Down

0 comments on commit 1b989b9

Please sign in to comment.