Fix log formatting discovered in 1.12 update
Change-Id: I22c2373d31ed42f1a1836e5a255fe483ef37d9f0
diff --git a/core/io_info.go b/core/io_info.go
index 7a272f4..e56d4b6 100644
--- a/core/io_info.go
+++ b/core/io_info.go
@@ -68,12 +68,12 @@
logger.Info("%s & %s was created.", veth1, veth2)
err = exec.Command("ip", "link", "set", veth1, "up").Run()
if err != nil {
- logger.Error("Fail to createVeth() veth1 up", err)
+ logger.Error("Fail to createVeth() veth1 up: %v", err)
return
}
err = exec.Command("ip", "link", "set", veth2, "up").Run()
if err != nil {
- logger.Error("Fail to createVeth() veth2 up", err)
+ logger.Error("Fail to createVeth() veth2 up: %v", err)
return
}
logger.Info("%s & %s was up.", veth1, veth2)