From ca0498b86093d5cd07e0b3d1cdb02afa9fda3267 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 28 Jan 2020 15:15:28 +0000 Subject: [PATCH] Fix warning log to use formatted variant --- router/fastdp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/fastdp.go b/router/fastdp.go index 4d630d24..5f2a101b 100644 --- a/router/fastdp.go +++ b/router/fastdp.go @@ -482,7 +482,7 @@ func (fastdp *FastDatapath) getVxlanVportID(udpPort int) (odp.VportID, error) { // The netdev interface is down, so most likely bringing it up // has failed due to the UDP port being in use. if err := fastdp.dp.DeleteVport(vxlanVportID); err != nil { - log.Warning("Unable to remove vxlan vport %d: %s", vxlanVportID, err) + log.Warningf("Unable to remove vxlan vport %d: %s", vxlanVportID, err) } return 0, odp.NetlinkError(syscall.EADDRINUSE) }