Skip to content

Commit 09c453d

Browse files
Merge pull request #37 from amd/alex_conn_fix
Bugfix: fix for status in InbandConnectionManager
2 parents d44d952 + 7fa859a commit 09c453d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nodescraper/pluginexecutor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@ def run_queue(self) -> list[PluginResult]:
194194
self.logger.exception("Unexpected exception running plugin queue: %s", str(e))
195195
finally:
196196
self.logger.info("Closing connections")
197-
for connection_manager in self.connection_library.values():
198-
connection_manager.disconnect()
199197

200198
if self.plugin_config.result_collators:
201199
self.logger.info("Running result collators")
@@ -217,6 +215,8 @@ def run_queue(self) -> list[PluginResult]:
217215
],
218216
**collator_args,
219217
)
218+
for connection_manager in self.connection_library.values():
219+
connection_manager.disconnect()
220220

221221
return plugin_results
222222

0 commit comments

Comments
 (0)