mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 23:38:24 +00:00
Add "gofmt" from Go 1.3.3
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
+1
-4
@@ -260,10 +260,7 @@ func (cli *DockerCli) monitorTtySize(id string, isExec bool) error {
|
||||
sigchan := make(chan os.Signal, 1)
|
||||
gosignal.Notify(sigchan, signal.SIGWINCH)
|
||||
go func() {
|
||||
// This tmp := range..., _ = tmp workaround is needed to
|
||||
// suppress gofmt warnings while still preserve go1.3 compatibility
|
||||
for tmp := range sigchan {
|
||||
_ = tmp
|
||||
for _ := range sigchan {
|
||||
cli.resizeTty(id, isExec)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user