Strip unused format specifier
Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #263 Approved by: umohnani8
This commit is contained in:
parent
36e6009f00
commit
fb58b87398
|
|
@ -59,7 +59,7 @@ func (c *Container) attachContainerSocket(resize <-chan remotecommand.TerminalSi
|
||||||
controlPath := filepath.Join(c.bundlePath(), "ctl")
|
controlPath := filepath.Join(c.bundlePath(), "ctl")
|
||||||
controlFile, err := os.OpenFile(controlPath, unix.O_WRONLY, 0)
|
controlFile, err := os.OpenFile(controlPath, unix.O_WRONLY, 0)
|
||||||
if err != nil {
|
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()
|
defer controlFile.Close()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue