We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
** (ArgumentError) argument error (stdlib 3.8) :ets.lookup(Util.ElasticsearchCluster.Config, :config) (elasticsearch 1.0.1) lib/elasticsearch/cluster/cluster.ex:218: Elasticsearch.Cluster.read_config/1 (elasticsearch 1.0.1) lib/elasticsearch.ex:286: Elasticsearch.put/4 (util 0.1.0) lib/cli.ex:6: Util.CLI.main/1 (elixir 1.11.3) lib/kernel/cli.ex:124: anonymous fn/3 in Kernel.CLI.exec_fun/2
---config.exs
use Mix.Config
config :util, Util.ElasticsearchCluster, url: "http://localhost:9200"
The text was updated successfully, but these errors were encountered:
You need to add your cluster to your supervision tree in application.ex, like the README says.
application.ex
children = [ Util.ElasticsearchCluster ]
Sorry, something went wrong.
No branches or pull requests
** (ArgumentError) argument error
(stdlib 3.8) :ets.lookup(Util.ElasticsearchCluster.Config, :config)
(elasticsearch 1.0.1) lib/elasticsearch/cluster/cluster.ex:218: Elasticsearch.Cluster.read_config/1
(elasticsearch 1.0.1) lib/elasticsearch.ex:286: Elasticsearch.put/4
(util 0.1.0) lib/cli.ex:6: Util.CLI.main/1
(elixir 1.11.3) lib/kernel/cli.ex:124: anonymous fn/3 in Kernel.CLI.exec_fun/2
---config.exs
use Mix.Config
config :util, Util.ElasticsearchCluster,
url: "http://localhost:9200"
The text was updated successfully, but these errors were encountered: