mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed some lint
This commit is contained in:
parent
a43eb53f28
commit
745b8f75f6
1 changed files with 2 additions and 2 deletions
|
@ -502,7 +502,7 @@ def unjoin_domain(username=None,
|
|||
workgroup='WORKGROUP',
|
||||
disable=False,
|
||||
restart=False):
|
||||
'''
|
||||
r'''
|
||||
Unjoin a computer from an Active Directory Domain. Requires restart.
|
||||
|
||||
:param username:
|
||||
|
@ -578,7 +578,7 @@ def unjoin_domain(username=None,
|
|||
ret = {'Workgroup': workgroup,
|
||||
'Restart': False}
|
||||
if restart:
|
||||
ret['Restart'] = reboot()
|
||||
ret['Restart'] = reboot()
|
||||
|
||||
return ret
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue