1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

L #-: missing lints

This commit is contained in:
Tino Vazquez 2022-04-20 17:58:27 +02:00
parent be49fe7b39
commit 91ab8d892b
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -1096,10 +1096,10 @@ module VCenterDriver
while Time.now - t_start < timeout
begin
if one_vn.short_state_str == 'rdy'
error = false
break
end
if one_vn.short_state_str == 'rdy'
error = false
break
end
rescue StandardError
error = true
end
@ -1109,9 +1109,9 @@ module VCenterDriver
end
if error
error_msg = "VNET #{one_vn.id} in state "
error_msg += "#{one_vn.short_state_str}, aborting import"
raise error_msg
error_msg = "VNET #{one_vn.id} in state "
error_msg += "#{one_vn.short_state_str}, aborting import"
raise error_msg
end
one_vn