1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Use gofmt with -s instead of goimports

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2016-02-12 14:07:00 +01:00
parent af569c179f
commit 421a3ec5d7
14 changed files with 68 additions and 69 deletions

View file

@ -85,7 +85,7 @@ func handleStopSignals(p proxy.Proxy) {
s := make(chan os.Signal, 10)
signal.Notify(s, os.Interrupt, syscall.SIGTERM, syscall.SIGSTOP)
for _ = range s {
for range s {
p.Close()
os.Exit(0)