Skip to content

Commit

Permalink
list resource before checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu authored and Ubuntu committed Sep 2, 2024
1 parent 4613e70 commit 996e276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/bootstrapping/sdk_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 996e276

Please sign in to comment.