Fix travis Go: tip

This fixes

 libcontainer/container_linux.go:1200: Error call has possible formatting directive %s

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2018-10-13 10:39:08 +00:00
parent 398f670bcb
commit 0d01164756
1 changed files with 1 additions and 1 deletions

View File

@ -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)