Add default value for internal IP if not supplied

Contributes to CL-1266
This commit is contained in:
Ian Paschal 2019-03-27 15:40:06 +01:00
parent c9d99e0149
commit 637e18a841

View file

@ -16,7 +16,7 @@ class CloudClusterResponse(BaseCloudModel):
# \param status: The status of the cluster authentication (active or inactive).
# \param host_version: The firmware version of the cluster host. This is where the Stardust client is running on.
def __init__(self, cluster_id: str, host_guid: str, host_name: str, is_online: bool, status: str,
host_internal_ip: Optional[str], host_version: Optional[str] = None, **kwargs) -> None:
host_internal_ip: Optional[str] = "", host_version: Optional[str] = None, **kwargs) -> None:
self.cluster_id = cluster_id
self.host_guid = host_guid
self.host_name = host_name