From c7fcb2c7d82802b8bccc720b807faa1e3f6c78f9 Mon Sep 17 00:00:00 2001 From: VZ Cambria Date: Tue, 27 Dec 2016 15:12:09 -0500 Subject: [PATCH] Cleanup log output --- plugins/ipam/vz-local/config.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/ipam/vz-local/config.go b/plugins/ipam/vz-local/config.go index 5ebb7de..61ceab3 100644 --- a/plugins/ipam/vz-local/config.go +++ b/plugins/ipam/vz-local/config.go @@ -17,6 +17,7 @@ package main import ( "encoding/json" "fmt" + "log" "net" "os" @@ -130,8 +131,8 @@ func LoadIPAMConfig(bytes []byte, args string) (*IPAMConfig, error) { println("CNI Args: IPAM Name: ", n.IPAM.Name) args_ip := n.IPAM.Args.IP uplink := n.IPAM.Args.UPLINK - println("IPAM args: n.IPAM.IP is:", args_ip) - println("IPAM args: n.IPAM.UPLINK is:", uplink) + log.Println("IPAM args: n.IPAM.IP is:", args_ip) + log.Println("IPAM args: n.IPAM.UPLINK is:", uplink) } staticIP, found := labels["StaticIP"] -- 2.44.0