Skip to content

Commit 65b2cb8

Browse files
ayushr2gvisor-bot
authored andcommitted
Log capabilities from container spec.
These configurations are important for debugging certain issues. PiperOrigin-RevId: 758358235
1 parent 48118e8 commit 65b2cb8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

runsc/specutils/specutils.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ func LogSpecDebug(orig *specs.Spec, logSeccomp bool) {
8888

8989
// Strip down parts of the spec that are not interesting.
9090
spec := deepcopy.Copy(orig).(*specs.Spec)
91-
if spec.Process != nil {
92-
spec.Process.Capabilities = nil
93-
}
9491
if spec.Linux != nil {
9592
if !logSeccomp {
9693
spec.Linux.Seccomp = nil

0 commit comments

Comments
 (0)