Skip to content

Commit c90e9ba

Browse files
authored
Merge pull request #6301 from 2i2c-org/fix_deployer_get-clusters
fix path error for hubs
2 parents de48d50 + 83210a3 commit c90e9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployer/commands/config/get_clusters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_clusters(
2424
cluster_names = []
2525
for config_file_path in get_all_cluster_yaml_files():
2626
with open(config_file_path) as f:
27-
cluster = Cluster(yaml.load(f), config_file_path.parent)
27+
cluster = Cluster(yaml.load(f), config_file_path)
2828
if provider and cluster.spec["provider"] != provider:
2929
continue
3030
cluster_names.append(os.path.basename(config_file_path.parent))

0 commit comments

Comments
 (0)