From e3348035514c3f547f96461d5389204d3b72d2c0 Mon Sep 17 00:00:00 2001 From: Soham Arora Date: Fri, 16 Aug 2024 05:00:56 +0530 Subject: [PATCH] lint Signed-off-by: Soham Arora --- pkg/analyzer/analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyzer/analyzer.go b/pkg/analyzer/analyzer.go index ef63571099..9a9d33bf2b 100644 --- a/pkg/analyzer/analyzer.go +++ b/pkg/analyzer/analyzer.go @@ -1144,7 +1144,7 @@ func CompareAllPaths(listOne, listTwo [][]*Node) (DiffResult, error) { dmp := diffmatchpatch.New() diffNode, _, err := compareNodes(dmp, *node, *dumnode) if err != nil { - return DiffResult{}, fmt.Errorf("error comparing nodes %v", fmt.Errorf(err.Error())) + return DiffResult{}, fmt.Errorf("error comparing nodes %v", err.Error()) } missingPath = append(missingPath, diffNode)