summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/config.go
diff options
context:
space:
mode:
authorpraveensastry <sastry.praveen@gmail.com>2019-08-22 22:52:43 +1000
committerpraveensastry <sastry.praveen@gmail.com>2019-08-22 22:52:43 +1000
commit7672eaae25eebad650e71ba790e1585736866ccc (patch)
tree02d64a4feb2632575bce465cceb3074fa4555df1 /runsc/boot/config.go
parent73985c6545d887644d8aa4f0e00491cc903501c7 (diff)
Add log prefix for better clarity
Diffstat (limited to 'runsc/boot/config.go')
-rw-r--r--runsc/boot/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go
index 3c0f72e9f..6a742f349 100644
--- a/runsc/boot/config.go
+++ b/runsc/boot/config.go
@@ -118,9 +118,9 @@ func MakeRefsLeakMode(s string) (refs.LeakMode, error) {
switch strings.ToLower(s) {
case "disabled":
return refs.NoLeakChecking, nil
- case "warning":
+ case "log-names":
return refs.LeaksLogWarning, nil
- case "traces":
+ case "log-traces":
return refs.LeaksLogTraces, nil
default:
return 0, fmt.Errorf("invalid refs leakmode %q", s)