Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a nil pointer dereference in GetSourceNames() (#541)
Fix a nil pointer dereference in `GetSourceNames()`, which happened quite often for me while developing Quesma - I often start Quesma before Elastic is fully up, therefore `im.sources` would be nil (failed to load from Elastic) and `GetSourceNames()` would panic.
- Loading branch information