Revert "Update runc to 1.0.0"
This commit is contained in:
4
vendor/github.com/opencontainers/runc/libcontainer/stacktrace/capture.go
generated
vendored
4
vendor/github.com/opencontainers/runc/libcontainer/stacktrace/capture.go
generated
vendored
@@ -13,8 +13,8 @@ func Capture(userSkip int) Stacktrace {
|
||||
)
|
||||
for i := skip; ; i++ {
|
||||
pc, file, line, ok := runtime.Caller(i)
|
||||
// detect if caller is repeated to avoid loop, gccgo
|
||||
// currently runs into a loop without this check
|
||||
//detect if caller is repeated to avoid loop, gccgo
|
||||
//currently runs into a loop without this check
|
||||
if !ok || pc == prevPc {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user