From d8ee4071d71fa4246437d31fd72dac8bc9bfc12c Mon Sep 17 00:00:00 2001 From: chidanandpujar Date: Fri, 29 Sep 2023 12:01:52 +0530 Subject: [PATCH] fix for issue #1247 review comments --- lib/jnpr/junos/utils/sw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jnpr/junos/utils/sw.py b/lib/jnpr/junos/utils/sw.py index 9bc35bded..0231ff383 100644 --- a/lib/jnpr/junos/utils/sw.py +++ b/lib/jnpr/junos/utils/sw.py @@ -1000,7 +1000,7 @@ def _progress(report): if re.search(r"(\d+)", x) ] vc_members.remove(self.dev.facts["vc_master"]) - vc_members.append(self.dev.facts["vc_master"]) + vc_members.insert(len(vc_members), self.dev.facts["vc_master"]) for vc_id in vc_members: if vc_id in member_id: _progress( @@ -1034,7 +1034,7 @@ def _progress(report): if re.search(r"(\d+)", x) ] vc_members.remove(self.dev.facts["vc_master"]) - vc_members.append(self.dev.facts["vc_master"]) + vc_members.insert(len(vc_members), self.dev.facts["vc_master"]) for vc_id in vc_members: _progress( "installing software on VC member: {} ... please "