1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-18 08:14:56 +00:00

Fix standard dump

This commit is contained in:
Darren Shepherd
2018-01-23 18:16:50 -07:00
parent d7d3712fd1
commit 2cdc1aa00a

View File

@@ -35,7 +35,7 @@ func GoroutineDumpOn(signals ...os.Signal) {
_, _ = io.WriteString(os.Stderr, p.BucketHeader(&bucket, true, len(buckets) > 1))
_, _ = io.WriteString(os.Stderr, p.StackLines(&bucket.Signature, srcLen, pkgLen, true))
}
io.Copy(os.Stderr, src)
io.Copy(os.Stderr, bytes.NewBuffer(buf))
} else {
io.Copy(os.Stderr, src)
}