summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorpraveensastry <sastry.praveen@gmail.com>2019-08-09 17:13:06 +1000
committerpraveensastry <sastry.praveen@gmail.com>2019-08-09 17:13:06 +1000
commit73985c6545d887644d8aa4f0e00491cc903501c7 (patch)
tree94184c2ba1321965a99e28f8703e1313b916a1e6 /runsc/boot
parent8d89c0d92b3839eed0839b1a9bc7666e6261d972 (diff)
Fix the Stringer for leak mode
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go
index 4276a4cc4..3c0f72e9f 100644
--- a/runsc/boot/config.go
+++ b/runsc/boot/config.go
@@ -120,6 +120,8 @@ func MakeRefsLeakMode(s string) (refs.LeakMode, error) {
return refs.NoLeakChecking, nil
case "warning":
return refs.LeaksLogWarning, nil
+ case "traces":
+ return refs.LeaksLogTraces, nil
default:
return 0, fmt.Errorf("invalid refs leakmode %q", s)
}