Skip to content

Commit

Permalink
Adjust opennebula adaptors for OS chage
Browse files Browse the repository at this point in the history
  • Loading branch information
tinova committed Dec 22, 2016
1 parent d06b586 commit 2e81730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adaptors/opennebula/link
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ network_table.each_slice(2) do |nets|
fa_endpoint_1 = fa_endpoints[network_table.index(nets[1])]

# Start with first element of the pair net[0] link-> net[1]
is_remote = nets[0].match("EC2")
is_remote = nets[0][:cmp_blob].match("EC2")
if !is_remote.nil?
success = link_ec2(fa_endpoint_0, fa_endpoint_1)
else
Expand All @@ -72,7 +72,7 @@ network_table.each_slice(2) do |nets|
break if !success

# Link second element of the pair net[1] link-> net[0]
is_remote = nets[1].match("EC2")
is_remote = nets[1][:cmp_blob].match("EC2")
if !is_remote.nil?
success = link_ec2(fa_endpoint_1, fa_endpoint_0)
else
Expand Down

0 comments on commit 2e81730

Please sign in to comment.