Skip to content

Commit b2a17a8

Browse files
Merge pull request #2280 from PavamanSubramaniyam/bonding_cleanup_password
bonding cleanup password issue
2 parents b88a184 + eede47d commit b2a17a8

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

io/net/bonding.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -519,13 +519,14 @@ def test_cleanup(self):
519519
networkinterface.restore_from_backup()
520520
except Exception:
521521
self.log.info("backup file not availbale, could not restore file.")
522-
try:
523-
for interface in self.peer_interfaces:
524-
peer_networkinterface = NetworkInterface(interface, self.remotehost)
525-
peer_networkinterface.set_mtu("1500")
526-
self.remotehost.remote_session.quit()
527-
except Exception:
528-
self.log.debug("Could not revert peer interface MTU to 1500")
522+
523+
try:
524+
for interface in self.peer_interfaces:
525+
peer_networkinterface = NetworkInterface(interface, self.remotehost)
526+
peer_networkinterface.set_mtu("1500")
527+
self.remotehost.remote_session.quit()
528+
except Exception:
529+
self.log.debug("Could not revert peer interface MTU to 1500")
529530

530531
def error_check(self):
531532
if self.err:

0 commit comments

Comments
 (0)