Dont log mergePathStackToString - end up with duplicate logs

This commit is contained in:
Mike Farah 2020-06-18 09:03:01 +10:00
parent 086f0ec6b9
commit 80e7f46538

View File

@ -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 {