Skip to content

Commit

Permalink
Address errors
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 6649f31 commit a4332ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/providers/baremetal/mnnvl.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func toSlurm(domainMap map[string]domain) *common.Vertex {
// add root metadata
root.Metadata["engine"] = "slurm"
root.Metadata["plugin"] = "topology/block"
root.Metadata[blocksize] = strconv.Itoa(blockSize)
root.Metadata["blocksize"] = strconv.Itoa(blockSize)
return root
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/baremetal/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (p *Provider) GetCredentials(_ *common.Credentials) (interface{}, error) {
}

func (p *Provider) GetComputeInstances(ctx context.Context, engine common.Engine) ([]common.ComputeInstances, error) {
klog.InfoS("Getting compute instances", "provider", common.ProviderOnPrem, "engine", engine)
klog.InfoS("Getting compute instances", "provider", common.ProviderBM, "engine", engine)

switch engine.(type) {
case *slurm.SlurmEngine:
Expand Down

0 comments on commit a4332ac

Please sign in to comment.