git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e4599
)
Cleanup log output
author
VZ Cambria
<vzcambria@gmail.com>
Tue, 27 Dec 2016 20:12:09 +0000
(15:12 -0500)
committer
VZ Cambria
<vzcambria@gmail.com>
Tue, 27 Dec 2016 20:12:09 +0000
(15:12 -0500)
plugins/ipam/vz-local/config.go
patch
|
blob
|
history
diff --git
a/plugins/ipam/vz-local/config.go
b/plugins/ipam/vz-local/config.go
index
5ebb7de
..
61ceab3
100644
(file)
--- 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
-
p
rintln("IPAM args: n.IPAM.IP is:", args_ip)
-
p
rintln("IPAM args: n.IPAM.UPLINK is:", uplink)
+
log.P
rintln("IPAM args: n.IPAM.IP is:", args_ip)
+
log.P
rintln("IPAM args: n.IPAM.UPLINK is:", uplink)
}
staticIP, found := labels["StaticIP"]