Skip to content

Commit 4ec83e7

Browse files
committed
fix error in connection refused error message
1 parent 800629d commit 4ec83e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cri_lib/cri_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def connect(self, host: str, port: int = 3920) -> bool:
112112
except ConnectionRefusedError:
113113
logger.error(
114114
"Connection refused: Unable to connect to %s:%i",
115-
self.ip_address,
116-
self.port,
115+
host,
116+
port,
117117
)
118118
return False
119119
except Exception as e:

0 commit comments

Comments
 (0)