Skip to content
Snippets Groups Projects
Unverified Commit 8b4f8554 authored by Nicolò Pretto's avatar Nicolò Pretto Committed by GitHub
Browse files

fix(sdk): fix health endpoint when polling whether metabase instance is ready (#46730)

parent df81b2de
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ export const pollMetabaseInstance: CliStepMethod = async state => {
while (attempts < HEALTH_CHECK_MAX_ATTEMPTS) {
// fetch will throw an error if the server is not reachable
try {
const res = await fetch(`${state.instanceUrl}/health`, {
const res = await fetch(`${state.instanceUrl}/api/health`, {
method: "GET",
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment