From f4c43394d8d9d8891ab74549c49daeb06b7e9276 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Thu, 2 Jul 2026 22:07:48 +0200 Subject: [PATCH] Fix missing format() leaving {0} literal in error message --- confluent_client/bin/nodel2traceroute | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodel2traceroute b/confluent_client/bin/nodel2traceroute index 233f3cc8..0339eaeb 100755 --- a/confluent_client/bin/nodel2traceroute +++ b/confluent_client/bin/nodel2traceroute @@ -162,7 +162,7 @@ for end_node in end_nodeslist: if end_node: end_switches = host_to_switch(end_node, eface) if not end_switches: - print('Error: net.{0}.switch attribute is not valid') + print('Error: net.{0}.switch attribute is not valid'.format(eface)) continue path = path_between_nodes(start_switches, end_switches) print(f'{start_node} to {end_node}: {path}')