summaryrefslogtreecommitdiffhomepage
path: root/pkg/refs/refcounter.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/refs/refcounter.go')
-rw-r--r--pkg/refs/refcounter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/refs/refcounter.go b/pkg/refs/refcounter.go
index 417f4a2d6..7fe42d8ff 100644
--- a/pkg/refs/refcounter.go
+++ b/pkg/refs/refcounter.go
@@ -235,11 +235,11 @@ const (
func (l LeakMode) String() string {
switch l {
case NoLeakChecking:
- return "NoLeakChecking"
+ return "disabled"
case LeaksLogWarning:
- return "LeaksLogWarning"
+ return "warning"
case LeaksLogTraces:
- return "LeaksLogTraces"
+ return "traces"
default:
panic(fmt.Sprintf("Invalid leakmode: %d", l))
}