forked from shaba/openuds
Removed "experimental" from AD group on OS Manager and fix on actor runner
This commit is contained in:
parent
afa9e0aab6
commit
8e3d90e7f3
@ -41,6 +41,8 @@ from .service import UDSActorSvc
|
||||
def setupRecoverService():
|
||||
svc_name = UDSActorSvc._svc_name_ # pylint: disable=protected-access
|
||||
|
||||
hs = None
|
||||
hscm = None
|
||||
try:
|
||||
hscm = win32service.OpenSCManager(None, None, win32service.SC_MANAGER_ALL_ACCESS)
|
||||
|
||||
@ -57,8 +59,10 @@ def setupRecoverService():
|
||||
}
|
||||
win32service.ChangeServiceConfig2(hs, win32service.SERVICE_CONFIG_FAILURE_ACTIONS, service_failure_actions)
|
||||
finally:
|
||||
if hs:
|
||||
win32service.CloseServiceHandle(hs)
|
||||
finally:
|
||||
if hscm:
|
||||
win32service.CloseServiceHandle(hscm)
|
||||
|
||||
|
||||
|
@ -100,7 +100,7 @@ class WinDomainOsManager(WindowsOsManager):
|
||||
label=_('Machine Group'),
|
||||
order=7,
|
||||
tooltip=_(
|
||||
'Group to which add machines on creation. If empty, no group will be used. (experimental)'
|
||||
'Group to which add machines on creation. If empty, no group will be used.'
|
||||
),
|
||||
tab=_('Advanced'),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user