From d20962f47de6ab36eb864067b770401a8a2243c1 Mon Sep 17 00:00:00 2001 From: Martin Betak Date: Wed, 2 Nov 2016 16:01:42 +0100 Subject: [PATCH] Remove extra comma in remote_console.rb Commit 37d1784f3d561ad0458d3fc049b4274fddc2434b that moved the initialization code of host_address in RemoteConsole#remote_console_acquire_ticket left the comma in a place that caused the `host_address` to be initailized with an array `[host_address, port]` instead of `host_address` which in turn caused the WebsocketProxy to break (connecting to invalid address). --- .../providers/redhat/infra_manager/vm/remote_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manageiq/providers/redhat/infra_manager/vm/remote_console.rb b/app/models/manageiq/providers/redhat/infra_manager/vm/remote_console.rb index e96ced093e6..b583c096476 100644 --- a/app/models/manageiq/providers/redhat/infra_manager/vm/remote_console.rb +++ b/app/models/manageiq/providers/redhat/infra_manager/vm/remote_console.rb @@ -36,7 +36,7 @@ def remote_console_acquire_ticket(userid, originating_server, console_type) :url_secret => SecureRandom.hex, :ssl => display[:secure_port].present? } - host_address = display[:address], + host_address = display[:address] host_port = display[:secure_port] || display[:port] SystemConsole.launch_proxy_if_not_local(console_args, originating_server, host_address, host_port)