Skip to content

Commit 13e725a

Browse files
lint fix
1 parent 78b26ac commit 13e725a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

search_commands.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,10 +1955,8 @@ func (cmd *FTHybridCmd) readReply(rd *proto.Reader) (err error) {
19551955
return err
19561956
}
19571957

1958-
cmd.val = FTHybridResult{
1959-
Total: searchResult.Total,
1960-
Docs: searchResult.Docs,
1961-
}
1958+
// FTSearchResult and FTHybridResult are aliases
1959+
cmd.val = searchResult
19621960
return nil
19631961
}
19641962

0 commit comments

Comments
 (0)