From ffae75cc4ddd1bd9b3422144d20db85fd46ec1b5 Mon Sep 17 00:00:00 2001 From: David Allen Date: Tue, 14 Jul 2026 10:58:04 -0600 Subject: [PATCH 1/2] refactor: removed appended index to component ID in parseRedfishEndpointDataV2 Signed-off-by: David Allen --- cmd/smd/smd-api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/smd/smd-api.go b/cmd/smd/smd-api.go index 207e47b..1469b8d 100644 --- a/cmd/smd/smd-api.go +++ b/cmd/smd/smd-api.go @@ -3073,7 +3073,7 @@ func (s *SmD) parseRedfishEndpointDataV2(w http.ResponseWriter, data []byte, for enabled := true component := base.Component{ - ID: root.ID + fmt.Sprintf("n%d", ceNum), + ID: root.ID NID: nid, State: "On", Type: xnametypes.Node.String(), From 238d05ff7b3018b984c98e1cae56bbedc299555a Mon Sep 17 00:00:00 2001 From: David Allen Date: Tue, 14 Jul 2026 14:33:04 -0600 Subject: [PATCH 2/2] fix: added missing comma in smd-api.go Signed-off-by: David Allen --- cmd/smd/smd-api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/smd/smd-api.go b/cmd/smd/smd-api.go index 1469b8d..9f61317 100644 --- a/cmd/smd/smd-api.go +++ b/cmd/smd/smd-api.go @@ -3073,7 +3073,7 @@ func (s *SmD) parseRedfishEndpointDataV2(w http.ResponseWriter, data []byte, for enabled := true component := base.Component{ - ID: root.ID + ID: root.ID, NID: nid, State: "On", Type: xnametypes.Node.String(),