lib/populus/accepter.rb in populus-0.0.3 vs lib/populus/accepter.rb in populus-0.0.4
- old
+ new
@@ -30,10 +30,10 @@
return false
end
end
def on(hostname, &run_it)
- be = Node.registory[hostname]
+ be = Node.registry[hostname]
if be
RemoteRunner.new(be, &run_it)
else
Populus.logger.warn "Not found host: #{hostname}. Skip."
end