lib/process/cloud/providers/hpcloud/network.rb in lorj_cloud-0.1.11 vs lib/process/cloud/providers/hpcloud/network.rb in lorj_cloud-0.1.12
- old
+ new
@@ -71,14 +71,14 @@
if gap
new_cidr = format('10.0.%s.0/24', count)
else
max_value = range_used.max
new_subnet = max_value.to_i + 1
- new_cidr = format('10.0.%s.0/24', new_subnet)
+ new_cidr = format('10.0.%s.0/24', new_subnet)
end
new_cidr
- rescue => e
- Logging.error("%s\n%s", e.message, e.backtrace.join("\n"))
+ rescue => e
+ Logging.error("%s\n%s", e.message, e.backtrace.join("\n"))
end
# router driver
def self.update_router(oRouters)