Skip to content

Commit ca0a112

Browse files
authored
Merge pull request #285 from jprovaznik/ha
Fixed master_count evaluation
2 parents b1dcb5e + 0c2969a commit ca0a112

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)