2021-01-08 13:41:50 +01:00
|
|
|
From 239e897776b889105cfd6f54092100c86f52ce21 Mon Sep 17 00:00:00 2001
|
2020-04-07 14:14:01 +02:00
|
|
|
From: Alberto Planas <aplanas@suse.com>
|
|
|
|
Date: Tue, 24 Mar 2020 17:46:23 +0100
|
|
|
|
Subject: [PATCH] loop: fix variable names for until_no_eval
|
|
|
|
|
|
|
|
---
|
|
|
|
salt/states/loop.py | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/salt/states/loop.py b/salt/states/loop.py
|
2021-01-08 13:41:50 +01:00
|
|
|
index de37b7d60c..533166c5dc 100644
|
2020-04-07 14:14:01 +02:00
|
|
|
--- a/salt/states/loop.py
|
|
|
|
+++ b/salt/states/loop.py
|
2021-01-08 13:41:50 +01:00
|
|
|
@@ -182,10 +182,10 @@ def until_no_eval(
|
|
|
|
)
|
|
|
|
if ret["comment"]:
|
2020-04-07 14:14:01 +02:00
|
|
|
return ret
|
|
|
|
- if not m_args:
|
|
|
|
- m_args = []
|
|
|
|
- if not m_kwargs:
|
|
|
|
- m_kwargs = {}
|
|
|
|
+ if not args:
|
|
|
|
+ args = []
|
|
|
|
+ if not kwargs:
|
|
|
|
+ kwargs = {}
|
|
|
|
|
|
|
|
if init_wait:
|
|
|
|
time.sleep(init_wait)
|
|
|
|
--
|
2021-01-08 13:41:50 +01:00
|
|
|
2.29.2
|
2020-04-07 14:14:01 +02:00
|
|
|
|
|
|
|
|