Add "gofmt" from Go 1.3.3

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi
2015-01-09 09:54:58 -07:00
parent 2677f1add4
commit b20363c4c0
2 changed files with 5 additions and 4 deletions
+1 -4
View File
@@ -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)
}
}()