9608a343ff
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=187
28 lines
739 B
Diff
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
|
|
|
|
|