Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
salt.23384
fix-missing-minion-returns-in-batch-mode-360.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-missing-minion-returns-in-batch-mode-360.patch of Package salt.23384
From 83fbfcbf49c98624029f1d215b7ad4d247128d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hole=C4=8Dek?= <oholecek@aaannz.eu> Date: Mon, 10 May 2021 16:23:19 +0200 Subject: [PATCH] Fix missing minion returns in batch mode (#360) Don't close pub if there are pending events, otherwise events will be lost resulting in empty minion returns. Co-authored-by: Denis V. Meltsaykin <dmeltsaykin@mirantis.com> --- salt/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/client/__init__.py b/salt/client/__init__.py index ddb437604b..78f4d99e84 100644 --- a/salt/client/__init__.py +++ b/salt/client/__init__.py @@ -920,7 +920,7 @@ class LocalClient: self._clean_up_subscriptions(pub_data["jid"]) finally: - if not was_listening: + if not was_listening and not self.event.pending_events: self.event.close_pub() def cmd_full_return( -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor