summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-15 20:03:46 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-15 20:03:46 +0100
commit8a871793c54dc45bd85fdb1b98f51bbfad3a25a2 (patch)
treefcab2d22a7ac6543850e779b973750da9f956585 /scripts
parentd9af64aa0af6ba1e42fc0afd5cad10b1853e8a43 (diff)
downloadvyos-1x-8a871793c54dc45bd85fdb1b98f51bbfad3a25a2.tar.gz
vyos-1x-8a871793c54dc45bd85fdb1b98f51bbfad3a25a2.zip
interface: bond: remove useless for loop on member removal
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cli/test_interfaces.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py
index 1b775e1fe..712a150c6 100755
--- a/scripts/cli/test_interfaces.py
+++ b/scripts/cli/test_interfaces.py
@@ -108,9 +108,9 @@ class BondInterfaceTest(BasicInterfaceTest.BaseTest):
self.session.commit()
- for intf in self._interfaces:
- self.session.delete(self._base_path + [intf, 'member'])
+ # check if member deletion works as expected
+ self.session.delete(self._base_path + [intf, 'member'])
self.session.commit()