Commit 47cd1f5d authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

fix(kubernetes): handle missing ports

parent 5fd372b6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@ class EdgeApplicationManager(EdgeCloudManagementInterface):
            response["appInstanceId"] = deployed_app.get("appInstanceId")
            response["status"] = deployed_app.get("status", "unknown")
            interfaces = []
            for port in deployed_app.get("ports"):
            for port in deployed_app.get("ports") or []:
                access_point = {"port": port}
                interfaces.append({"interfaceId": "", "accessPoints": access_point})
            # response["componentEndpointInfo"] = interfaces