fix(slurm): correct PartitionInfoMaximums CpusPerNode/CpusPerSocket types to Uint32NoVal
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -307,7 +307,7 @@ func mapPartition(pi slurm.PartitionInfo) model.PartitionResponse {
|
||||
}
|
||||
var maxCPUsPerNode *int32
|
||||
if pi.Maximums != nil {
|
||||
maxCPUsPerNode = pi.Maximums.CpusPerNode
|
||||
maxCPUsPerNode = mapUint32NoValToInt32(pi.Maximums.CpusPerNode)
|
||||
}
|
||||
var minNodes *int32
|
||||
if pi.Minimums != nil {
|
||||
|
||||
Reference in New Issue
Block a user