Expand method of availability

This commit is contained in:
Bo Maryniuk 2017-12-04 15:42:52 +01:00
parent 82d187485f
commit 0a19c80d07

View File

@ -198,7 +198,13 @@ class SSDPDiscoveryServer(SSDPBase):
Discovery service publisher.
'''
is_available = SSDPBase._is_available
@staticmethod
def is_available():
'''
Return availability of the Server.
:return:
'''
return SSDPBase._is_available()
def __init__(self, **config):
'''
@ -309,7 +315,13 @@ class SSDPDiscoveryClient(SSDPBase):
'''
Class to discover Salt Master via UDP broadcast.
'''
is_available = SSDPBase._is_available
@staticmethod
def is_available():
'''
Return availability of the Client
:return:
'''
return SSDPBase._is_available()
def __init__(self, **config):
'''