Merge pull request #1910 from adrianreber/tip

Fix travis Go: tip
This commit is contained in:
Mrunal Patel 2018-10-17 12:47:08 -07:00 committed by GitHub
commit c2ab1e656e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1198,7 +1198,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)