Skip to content

Commit 0c2969a

Browse files
committed
Fixed master_count evaluation
1 parent b1dcb5e commit 0c2969a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fragments/bastion-ansible.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function create_metadata_json() {
1212
# $1 - metadata filename
1313
infra_arr=($all_infra_nodes)
1414
infra_count=${#infra_arr[@]}
15-
master_arr=($all_infra_nodes)
16-
master_count=${#infra_arr[@]}
15+
master_arr=($all_master_nodes)
16+
master_count=${#master_arr[@]}
1717
if [ -n "$os_username" ] && [ -n "$os_password" ] && \
1818
[ -n "$os_auth_url" ] && [ -n "$os_tenant_name" ]; then
1919
openstack_cloud_provider=true

0 commit comments

Comments
 (0)