ipaplatform/debian/services: Fix is_running arguments.

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Timo Aaltonen 2017-03-14 16:32:22 +02:00 committed by Martin Basti
parent ca5b53adcc
commit 1a47fcd3ee

View File

@ -72,7 +72,7 @@ class DebianSysvService(base_services.PlatformService):
if wait and self.is_running(instance_name):
self.__wait_for_open_ports(instance_name)
def is_running(self, instance_name=""):
def is_running(self, instance_name="", wait=True):
ret = True
try:
result = ipautil.run([paths.SBIN_SERVICE,