lib/network.rb in forj-0.0.38 vs lib/network.rb in forj-0.0.39
- old
+ new
@@ -162,11 +162,11 @@
Logging.fatal(1, "Unable to attach router '%s' to an external gateway. Required for boxes to get internet access. " % [ routers[0].name ] )
end
end
router = routers[0]
else
- Logging.warning("Unable to found the router id '%s'" % [ port.device_id ])
+ Logging.warning("Unable to find the router id '%s'" % [ port.device_id ])
router = nil
end
end
router
end
@@ -290,10 +290,10 @@
netty = networks.get(name)
rescue => e
Logging.error("%s\n%s" % [e.message, e.backtrace.join("\n")])
end
Logging.state("Found gateway '%s'" % [name]) if netty
- Logging.state("Unable to found gateway '%s'" % [name]) if not netty
+ Logging.state("Unable to find gateway '%s'" % [name]) if not netty
return netty
end
def search_gateway(oFC)
Logging.state("Identifying External gateway ...")