Skip to content

Commit

Permalink
cloud id replaced by endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
Delacrobix committed Feb 17, 2025
1 parent da6f68a commit 8aa91df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"outputs": [],
"source": [
"ELASTIC_CLUSTER_ID = getpass(\"Elastic Cloud ID: \")\n",
"ELASTICSEARCH_ENDPOINT = getpass(\"Elasticsearch endpoint: \")\n",
"ELASTIC_API_KEY = getpass(\"Elastic Api Key: \")\n",
"\n",
"\n",
Expand Down Expand Up @@ -113,7 +113,7 @@
"\n",
"# Elasticsearch client\n",
"es_client = Elasticsearch(\n",
" cloud_id=ELASTIC_CLUSTER_ID,\n",
" ELASTICSEARCH_ENDPOINT,\n",
" api_key=ELASTIC_API_KEY,\n",
")"
]
Expand Down

0 comments on commit 8aa91df

Please sign in to comment.