summaryrefslogtreecommitdiffhomepage
path: root/pkg/refs
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 /pkg/refs
parent73985c6545d887644d8aa4f0e00491cc903501c7 (diff)
Add log prefix for better clarity
Diffstat (limited to 'pkg/refs')
-rw-r--r--pkg/refs/refcounter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/refs/refcounter.go b/pkg/refs/refcounter.go
index 7fe42d8ff..8c3e3d5ab 100644
--- a/pkg/refs/refcounter.go
+++ b/pkg/refs/refcounter.go
@@ -237,9 +237,9 @@ func (l LeakMode) String() string {
case NoLeakChecking:
return "disabled"
case LeaksLogWarning:
- return "warning"
+ return "log-names"
case LeaksLogTraces:
- return "traces"
+ return "log-traces"
default:
panic(fmt.Sprintf("Invalid leakmode: %d", l))
}