mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove unnecessary pass
This commit is contained in:
parent
4ebf7a3df4
commit
cf548ac717
1 changed files with 0 additions and 1 deletions
|
@ -348,7 +348,6 @@ def csr_managed(name,
|
|||
old = __salt__['x509.read_csr'](name)
|
||||
except salt.exceptions.SaltInvocationError:
|
||||
old = '{0} is not a valid csr.'.format(name)
|
||||
pass
|
||||
|
||||
file_args, kwargs = _get_file_args(name, **kwargs)
|
||||
file_args['contents'] = __salt__['x509.create_csr'](text=True, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue