From 637e18a841067e8681e283ed6dd281dc435ff5ae Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Wed, 27 Mar 2019 15:40:06 +0100 Subject: [PATCH] Add default value for internal IP if not supplied Contributes to CL-1266 --- .../UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py b/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py index 6e49e9e2a9..207d0bffa9 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py @@ -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