From 3fc622e296d5812839ec524aea39bb58080f7187 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 8 May 2023 12:25:09 +0200 Subject: [PATCH] Remove legacy references to the websocket HTTP port and backend in platydock. --- platypush/platydock/__init__.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/platypush/platydock/__init__.py b/platypush/platydock/__init__.py index c51fa7f3f..8c5bd1023 100755 --- a/platypush/platydock/__init__.py +++ b/platypush/platydock/__init__.py @@ -251,26 +251,10 @@ def build(args): # noinspection PyProtectedMember ports.add(backend_config['http'].get('port', HttpBackend._DEFAULT_HTTP_PORT)) - # noinspection PyProtectedMember - ports.add( - backend_config['http'].get( - 'websocket_port', HttpBackend._DEFAULT_WEBSOCKET_PORT - ) - ) if backend_config.get('tcp'): ports.add(backend_config['tcp']['port']) - if backend_config.get('websocket'): - from platypush.backend.websocket import WebsocketBackend - - # noinspection PyProtectedMember - ports.add( - backend_config['websocket'].get( - 'port', WebsocketBackend._default_websocket_port - ) - ) - dev_dir = os.path.join(workdir, Config.get('device_id')) generate_dockerfile( deps=dict(install_cmds),