File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -970,13 +970,14 @@ async def create_oob_connections(
970970 )
971971 try :
972972 async for node , _ in batch .execute ():
973+ hfid_str = ' -> ' .join (node .hfid ) if isinstance (node .hfid , list ) else str (node .hfid )
973974 if hasattr (node , "description" ):
974975 self .log .info (
975- f"- Created [{ node .get_kind ()} ] { node .description .value } from { ' -> ' . join ( node . hfid ) } "
976+ f"- Created [{ node .get_kind ()} ] { node .description .value } from { hfid_str } "
976977 )
977978 else :
978979 self .log .info (
979- f"- Created [{ node .get_kind ()} ] from { ' -> ' . join ( node . hfid ) } "
980+ f"- Created [{ node .get_kind ()} ] from { hfid_str } "
980981 )
981982
982983 except ValidationError as exc :
Original file line number Diff line number Diff line change @@ -136,13 +136,14 @@ async def create_fabric_peering(self) -> None:
136136 )
137137
138138 async for node , _ in batch .execute ():
139+ hfid_str = ' -> ' .join (node .hfid ) if isinstance (node .hfid , list ) else str (node .hfid )
139140 if hasattr (node , "description" ):
140141 self .log .info (
141- f"- Created/Updated [{ node .get_kind ()} ] { node .description .value } from { ' -> ' . join ( node . hfid ) } "
142+ f"- Created/Updated [{ node .get_kind ()} ] { node .description .value } from { hfid_str } "
142143 )
143144 else :
144145 self .log .info (
145- f"- Created/Updated [{ node .get_kind ()} ] from { ' -> ' . join ( node . hfid ) } "
146+ f"- Created/Updated [{ node .get_kind ()} ] from { hfid_str } "
146147 )
147148
148149 async def create_ospf_underlay (self ) -> None :
You can’t perform that action at this time.
0 commit comments