diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-15 20:03:46 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-15 20:03:46 +0100 |
commit | 8a871793c54dc45bd85fdb1b98f51bbfad3a25a2 (patch) | |
tree | fcab2d22a7ac6543850e779b973750da9f956585 /scripts | |
parent | d9af64aa0af6ba1e42fc0afd5cad10b1853e8a43 (diff) | |
download | vyos-1x-8a871793c54dc45bd85fdb1b98f51bbfad3a25a2.tar.gz vyos-1x-8a871793c54dc45bd85fdb1b98f51bbfad3a25a2.zip |
interface: bond: remove useless for loop on member removal
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_interfaces.py | 4 |
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() |