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:
parent
4a0c15ac3c
commit
8889887303
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user