SHA256
1
0
forked from pool/salt
salt/regression-fix-of-salt-ssh-on-processing-targets-353.patch

28 lines
739 B
Diff

From 543969c927df2f73662ac6ac19467d66d33e0577 Mon Sep 17 00:00:00 2001
From: Victor Zhestkov <35733135+vzhestkov@users.noreply.github.com>
Date: Tue, 13 Apr 2021 18:00:42 +0300
Subject: [PATCH] Regression fix of salt-ssh on processing targets
(#353)
---
salt/client/ssh/__init__.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index 1edb7b3b23..0a76627fe3 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -435,8 +435,6 @@ class SSH:
self.opts["tgt"] = _hosts
elif _hosts:
self.opts["tgt"] = _hosts[0]
- else:
- self.opts["tgt"] = ""
def get_pubkey(self):
"""
--
2.30.2