From 9de078a1b116494821eb220e77581ec3445726a0 Mon Sep 17 00:00:00 2001 From: Lili Deng Date: Wed, 26 Jun 2024 17:56:52 +0800 Subject: [PATCH] serial console: remove unused token --- lisa/sut_orchestrator/azure/features.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisa/sut_orchestrator/azure/features.py b/lisa/sut_orchestrator/azure/features.py index 31d7f920a1..d832d92e67 100644 --- a/lisa/sut_orchestrator/azure/features.py +++ b/lisa/sut_orchestrator/azure/features.py @@ -443,11 +443,7 @@ def _get_connection_string(self) -> str: parent_resource=self._vm_name, serial_port=self._serial_port.name, ) - serial_port_connection_str = ( - f"{connection.connection_string}?authorization={self._get_access_token()}" - ) - - return serial_port_connection_str + return str(connection.connection_string) def _initialize_serial_console(self, port_id: int) -> None: if self._serial_console_initialized: