mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
deal with linter false positives
This commit is contained in:
parent
c9928b0c7f
commit
8474854dd3
1 changed files with 1 additions and 2 deletions
|
|
@ -4179,8 +4179,7 @@ func (e *executor) collectCallKeysNew(dst *keyCollector, c *pql.Call, index stri
|
|||
if keyed {
|
||||
opts = append(opts, OptFieldKeys())
|
||||
}
|
||||
f, err = idx.CreateField(field, opts...)
|
||||
if err != nil {
|
||||
if _, err := idx.CreateField(field, opts...); err != nil {
|
||||
// We wrap these because we want to indicate that it wasn't found,
|
||||
// but also the problem we encountered trying to create it.
|
||||
return newNotFoundError(errors.Wrapf(err, "creating field %q", field))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue