From fe72d8b844f36400e11b099918dc7b1c7c82a4b9 Mon Sep 17 00:00:00 2001 From: Hongjian Fan Date: Thu, 19 Sep 2024 11:48:12 -0500 Subject: [PATCH] fix: [cfm-service] handle cxl-host response with no host port --- pkg/backend/httpfish.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/backend/httpfish.go b/pkg/backend/httpfish.go index 42c1541..9a56cc2 100644 --- a/pkg/backend/httpfish.go +++ b/pkg/backend/httpfish.go @@ -1293,7 +1293,8 @@ func (service *httpfishService) GetHostPortPcieDevices(ctx context.Context, sett logger.V(4).Info("GetHostPortPcieDevices", "req", req) var ret = GetPortsResponse{ - Status: "Failure", + Status: "Failure", + PortIds: []string{}, } session := service.service.session.(*Session)