WARN [linter] revive: the following rules (context-keys-type,errorf,modifies-value-receiver,time-naming,unexported-return,var-declaration)
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
323a99b652
commit
7b3b9eeb53
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue