From 80e7f46538c840688d2e3a158109c0aebc4f41a5 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Thu, 18 Jun 2020 09:03:01 +1000 Subject: [PATCH] Dont log mergePathStackToString - end up with duplicate logs --- pkg/yqlib/lib.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/yqlib/lib.go b/pkg/yqlib/lib.go index 90682186..36e6356a 100644 --- a/pkg/yqlib/lib.go +++ b/pkg/yqlib/lib.go @@ -93,9 +93,7 @@ func mergePathStackToString(pathStack []interface{}, appendArrays bool) string { sb.WriteString(".") } } - var pathString = sb.String() - log.Debug("got a path string: %v", pathString) - return pathString + return sb.String() } func guessKind(head interface{}, tail []interface{}, guess yaml.Kind) yaml.Kind {