mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Pylint updates , removing whitespace
This commit is contained in:
parent
532d315dd1
commit
f8dc6030e7
1 changed files with 4 additions and 4 deletions
|
@ -96,14 +96,14 @@ def list_(show_all=False, return_yaml=True):
|
|||
def is_enabled(name):
|
||||
'''
|
||||
List a Job only if its enabled
|
||||
|
||||
|
||||
CLI Example:
|
||||
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
salt '*' schedule.is_enabled name=job_name
|
||||
'''
|
||||
|
||||
|
||||
current_schedule = __salt__['schedule.list'](show_all=False, return_yaml=False)
|
||||
if name in current_schedule:
|
||||
return current_schedule[name]
|
||||
|
|
Loading…
Add table
Reference in a new issue