1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #-: remove symbol to support Terraform 0.14 (#908)

This commit is contained in:
Alejandro Huertas Herrero 2021-03-03 16:58:32 +01:00 committed by GitHub
parent 4a0c15ac3c
commit 8889887303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,6 +180,10 @@ module OneProvision
info = info.split("\n")
info.map! {|ip| ip.split('=')[1] }
# rubocop:disable Style/StringLiterals
info.map! {|val| val.gsub("\"", '') }
# rubocop:enable Style/StringLiterals
# From 0 to (size / 2) - 1 -> deploy IDS
# From (size / 2) until the end -> IPs
ids = info[0..(info.size / 2) - 1]