Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix minor errors found by Dialyzer #70

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

soundmonster
Copy link
Contributor

Dialyzer found three call sites where atoms are used, but strings are expected:

  1. the header map for HTTPoison.request/5 - its signature requires strings as keys
  2. two functions in Elasticsearch.Index that expect strings for index name, but received atoms

Fixing this allows dependent projects to use Dialyzer without warnings.

@soundmonster soundmonster reopened this Jun 4, 2019
@danielberkompas danielberkompas merged commit 1a7bbe7 into danielberkompas:master Jun 14, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants