From 0d01164756f0c58052cb97b23514824c1f0267ee Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sat, 13 Oct 2018 10:39:08 +0000 Subject: [PATCH] Fix travis Go: tip This fixes libcontainer/container_linux.go:1200: Error call has possible formatting directive %s Signed-off-by: Adrian Reber --- libcontainer/container_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go index 9f551fd09..9a60e7541 100644 --- a/libcontainer/container_linux.go +++ b/libcontainer/container_linux.go @@ -1197,7 +1197,7 @@ func (c *linuxContainer) Restore(process *Process, criuOpts *CriuOpts) error { netns, err := os.Open(nsPath) defer netns.Close() if err != nil { - logrus.Error("If a specific network namespace is defined it must exist: %s", err) + logrus.Errorf("If a specific network namespace is defined it must exist: %s", err) return fmt.Errorf("Requested network namespace %v does not exist", nsPath) } inheritFd := new(criurpc.InheritFd)