Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
Signed-off-by: Ritika Srivastava <[email protected]>
  • Loading branch information
ritikasrivastava committed Oct 18, 2024
1 parent 6c18e02 commit 8d4c52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/providers/baremetal/mnnvl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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
}

0 comments on commit 8d4c52e

Please sign in to comment.