From 996e276eb7e7aa745560ce66d9e3c417278bbf74 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 2 Sep 2024 03:17:49 +0000 Subject: [PATCH] list resource before checking --- infra/bootstrapping/sdk_helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/bootstrapping/sdk_helpers.sh b/infra/bootstrapping/sdk_helpers.sh index ab95d39c76..a2592850ee 100644 --- a/infra/bootstrapping/sdk_helpers.sh +++ b/infra/bootstrapping/sdk_helpers.sh @@ -848,9 +848,9 @@ function ensure_k8s_compute(){ if [[ $Status == "Succeeded" ]] then - echo_info "Compute is healthy: $Status" + echo_info "K8s Compute is healthy: $Status" else - echo_info "Compute is unhealthy: $Status" + echo_info "K8s Compute is unhealthy: $Status" az ml compute detach --subscription "${SUBSCRIPTION_ID}" --resource-group "${RESOURCE_GROUP_NAME}" --workspace-name "${WORKSPACE_NAME}" --name "${ARC_COMPUTE_NAME}" -y || true fi fi