You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unit testing my code, it was noticed that the return type NewBulkIndexer() is a BulkIndexer and error, but when looked into the NewBulkIndexer() code it just returns nil for error. Please let me know if NewBulkIndexer() needs an err as return. Below is the code snippet for from bulk_indexer.go. Please correct me if I'm wrong.
I was unit testing my code, it was noticed that the return type NewBulkIndexer() is a BulkIndexer and error, but when looked into the NewBulkIndexer() code it just returns nil for error. Please let me know if NewBulkIndexer() needs an err as return. Below is the code snippet for from bulk_indexer.go. Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: