Strip unused format specifier

Signed-off-by: Matthew Heon <mheon@redhat.com>

Closes: #263
Approved by: umohnani8
This commit is contained in:
Matthew Heon 2018-01-26 03:11:34 -05:00 committed by Atomic Bot
parent 36e6009f00
commit fb58b87398
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func (c *Container) attachContainerSocket(resize <-chan remotecommand.TerminalSi
controlPath := filepath.Join(c.bundlePath(), "ctl")
controlFile, err := os.OpenFile(controlPath, unix.O_WRONLY, 0)
if err != nil {
return errors.Wrapf(err, "failed to open container ctl file: %v")
return errors.Wrapf(err, "failed to open container ctl file")
}
defer controlFile.Close()