Fix switching console type from telnet to VNC throws error. Fixes #2489.

This commit is contained in:
grossmj committed 2018-06-09 21:47:36 +07:00
1 parent 1905a99ce7
commit 40151cd1fe
5 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -442,7 +442,7 @@ class BaseNode:
return
if self._console_type == "vnc" and console is not None and console < 5900:
raise NodeError("VNC console require a port superior or equal to 5900 currently it's {}".format(console))
raise NodeError("VNC console require a port superior or equal to 5900, current port is {}".format(console))
if self._console:
self._manager.port_manager.release_tcp_port(self._console, self._project)