Skip to content

Commit 474f164

Browse files
committed
fix formatting error
1 parent 3e547d8 commit 474f164

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pkg/docker/docker.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -996,14 +996,14 @@ func (d *stiDocker) RunContainer(opts RunContainerOptions) error {
996996
if signal == syscall.SIGQUIT {
997997
buf := make([]byte, 1<<16)
998998
runtime.Stack(buf, true)
999-
f, err := os.Create("/var/log/s2i_docker_stack_trace.log")
1000-
if err != nil {
1001-
return
1002-
}
1003-
defer f.Close()
1004-
w := bufio.NewWriter(f)
999+
f, err := os.Create("/var/log/s2i_docker_stack_trace.log")
1000+
if err != nil {
1001+
return
1002+
}
1003+
defer f.Close()
1004+
w := bufio.NewWriter(f)
10051005
w.Write(buf)
1006-
w.Flush()
1006+
w.Flush()
10071007
}
10081008
os.Exit(2)
10091009
}

0 commit comments

Comments
 (0)