Skip to content

Commit

Permalink
fix(cluster_management): correct logger string arguments
Browse files Browse the repository at this point in the history
Corrected the logger string arguments in cluster_getter.py to ensure
proper formatting of the error message when a cluster instance fails
to start.
  • Loading branch information
mkoura committed Jan 20, 2025
1 parent 040d0a0 commit 4a144b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano_node_tests/cluster_management/cluster_getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def _netstat_log_func(msg: str) -> None:
else:
self.log(f"c{self.cluster_instance_num}: cluster dead")
framework_log.framework_logger().error(
"Failed to start cluster instance 'c%s':\n%s\nports:\n{ports}\nnetstat:\n%s",
"Failed to start cluster instance 'c%s':\n%s\nports:\n%s\nnetstat:\n%s",
self.cluster_instance_num,
excp,
ports,
Expand Down

0 comments on commit 4a144b0

Please sign in to comment.