We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e547d8 commit 474f164Copy full SHA for 474f164
pkg/docker/docker.go
@@ -996,14 +996,14 @@ func (d *stiDocker) RunContainer(opts RunContainerOptions) error {
996
if signal == syscall.SIGQUIT {
997
buf := make([]byte, 1<<16)
998
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)
+ f, err := os.Create("/var/log/s2i_docker_stack_trace.log")
+ if err != nil {
+ return
+ }
+ defer f.Close()
+ w := bufio.NewWriter(f)
1005
w.Write(buf)
1006
- w.Flush()
+ w.Flush()
1007
}
1008
os.Exit(2)
1009
0 commit comments