From 7b3b9eeb5318ef6cd65b7747731a28df465cf103 Mon Sep 17 00:00:00 2001 From: grumbulon Date: Fri, 16 Sep 2022 19:50:29 -0400 Subject: [PATCH] WARN [linter] revive: the following rules (context-keys-type,errorf,modifies-value-receiver,time-naming,unexported-return,var-declaration) --- pkg/query/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/query/query.go b/pkg/query/query.go index e1fc132..9ab22a7 100644 --- a/pkg/query/query.go +++ b/pkg/query/query.go @@ -135,7 +135,7 @@ func CreateQuery(opts util.Options) (util.Response, error) { resolver, err := resolvers.LoadResolver(opts) if err != nil { - return util.Response{}, fmt.Errorf("unable to load resolvers: %v", err) + return util.Response{}, fmt.Errorf("unable to load resolvers: %w", err) } opts.Logger.Info("Query successfully loaded")