From 8d4c52eface7b3b426f982181c50daa8029b7147 Mon Sep 17 00:00:00 2001 From: Ritika Srivastava Date: Fri, 18 Oct 2024 15:15:36 -0700 Subject: [PATCH] Rename function Signed-off-by: Ritika Srivastava --- pkg/providers/baremetal/mnnvl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/providers/baremetal/mnnvl.go b/pkg/providers/baremetal/mnnvl.go index 49de89e..14dc84a 100644 --- a/pkg/providers/baremetal/mnnvl.go +++ b/pkg/providers/baremetal/mnnvl.go @@ -62,7 +62,7 @@ func getClusterOutput(ctx context.Context, domainMap map[string]domain, nodes [] } return nil } -func toSlurm(domainMap map[string]domain) *common.Vertex { +func toGraph(domainMap map[string]domain) *common.Vertex { root := &common.Vertex{ Vertices: make(map[string]*common.Vertex), Metadata: make(map[string]string), @@ -97,5 +97,5 @@ func generateTopologyConfig(ctx context.Context, cis []common.ComputeInstances) if err != nil { return nil, fmt.Errorf("getClusterOutput failed: %v\n", err) } - return toSlurm(domainMap), nil + return toGraph(domainMap), nil }