Skip to content

Commit

Permalink
remove fmt.Printf
Browse files Browse the repository at this point in the history
  • Loading branch information
aajkl committed Jul 2, 2024
1 parent 3f57978 commit 1f5c676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/network/drivers/calico/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func getBIRDPeers(ipv string) ([]bgpPeer, error) {
birdSuffix = "6"
}

fmt.Printf("\nIPv%s BGP status\n", ipv)
log.Debugf(context.TODO(), "IPv%s BGP status", ipv)

// Try connecting to the bird socket in `/var/run/calico/` first to get the data
c, err := net.Dial("unix", fmt.Sprintf("/var/run/calico/bird%s.ctl", birdSuffix))
Expand Down

0 comments on commit 1f5c676

Please sign in to comment.