Skip to content

Commit 040b06f

Browse files
authored
Merge pull request #89 from ciaran28/main
Bug Fix Clusters
2 parents 3c493ed + eace615 commit 040b06f

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.azure_devOps-DEVELOPING_DO_NOT_USE/workflows/Managed_Identity_Auth/3-Tasks/taskDatabricks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ steps:
9898
DBRKS_BEARER_TOKEN=$( az account get-access-token \
9999
--resource 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d \
100100
--query "accessToken" \
101-
--output tsv)
101+
--output tsv, )
102102
103103
DBRKS_MANAGEMENT_TOKEN=$( az account get-access-token \
104104
--resource "https://management.core.windows.net/" \

.github/workflows/taskDatabricks.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ jobs:
6565
python -m pip install requests
6666
python -m pip install python-dotenv
6767
68-
69-
70-
7168
7269
7370
pip3 install --upgrade azure-cli

mlOps/devOps/utils/python/utils_create_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _get_cluster_names(existing_clusters):
8181
existing_clusters_name_arr = []
8282

8383

84-
if not existing_clusters_name_arr: # If Clusters Exist (Array Is Not Empty), Return Cluster Names
84+
if existing_clusters: # If Clusters Exist (Array Is Not Empty), Return Cluster Names
8585
for existing_cluster in existing_clusters['clusters']:
8686

8787
existing_clusters_name_arr.append(existing_cluster['cluster_name'])

0 commit comments

Comments
 (0)