lib/cloudstack-nagios/commands/router.rb in cloudstack-nagios-0.8.2 vs lib/cloudstack-nagios/commands/router.rb in cloudstack-nagios-0.9.0

- old
+ new

@@ -114,10 +114,10 @@ say "Error: --host/-H option is required for this check.", :red exit 1 end host = SSHKit::Host.new("root@#{options[:host]}") host.ssh_options = sshoptions(options[:ssh_key]) - host.port = options[:port] + host.port = options[:ssh_port] host end end