diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-16 15:15:42 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-16 15:15:42 +0100 |
commit | a124d525b9108de05e6012066fe94635d139bae6 (patch) | |
tree | 16d9a83f1e9e789dbbf439c8c243da0b841e5b6f | |
parent | 2e3b45bb1606514f791fc758e6a8648013c4cc70 (diff) |
use log
-rw-r--r-- | gateways.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gateways.go b/gateways.go index c4597a0..a72ea73 100644 --- a/gateways.go +++ b/gateways.go @@ -18,6 +18,7 @@ package main import ( "encoding/json" "fmt" + "log" "net/http" ) @@ -90,7 +91,7 @@ func (b *bonafide) listGateways() error { } for i := 0; i < len(b.eip.Gateways); i++ { - fmt.Printf("\t%v\n", b.eip.Gateways[i]) + log.Printf("\t%v\n", b.eip.Gateways[i]) } return nil |