Skip to content

Commit 2567f79

Browse files
authored
Merge pull request solarwinds#44 from john-westcott-iv/fix_return
Fix the return of remove_interface for a successful remove
2 parents 5aad8a2 + 1453d3c commit 2567f79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

orionsdk/solarwinds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ def remove_interface(self, node_name, interface_name):
674674
if self.does_interface_exist(node_name, interface_name):
675675
self.logger.info("remove_interface_by_name - interface_uri query results: %s", interface_uri)
676676
self.swis.delete(interface_uri)
677+
return True
677678
else:
678679
return False
679680

0 commit comments

Comments
 (0)