summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-26 11:08:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-26 11:08:22 +0200
commit529cf467098d1a31e07b4053722e2f9779b16142 (patch)
treef1cf4c55d3aefb0e84db05665131056b4c5d9efc /src
parent3027a904c96b2972ab3112f671fa7aef48f8ecf1 (diff)
downloadvyos-1x-529cf467098d1a31e07b4053722e2f9779b16142.tar.gz
vyos-1x-529cf467098d1a31e07b4053722e2f9779b16142.zip
Revert "salt: T2382: id and master nodes are mandatory - use in verify()"
This reverts commit 2102c7c318ef02f3506a8d3003ed1d41a04b190e.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/salt-minion.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/conf_mode/salt-minion.py b/src/conf_mode/salt-minion.py
index 62a08f5ff..a460c95b3 100755
--- a/src/conf_mode/salt-minion.py
+++ b/src/conf_mode/salt-minion.py
@@ -80,15 +80,6 @@ def get_config():
return salt
def verify(salt):
- if not salt:
- return None
-
- if not salt['salt_id']:
- raise ConfigError('Missing mandatory salt id!')
-
- if not salt['master']:
- raise ConfigError('Salt master must be defined!')
-
return None
def generate(salt):