Skip to content

Commit

Permalink
Add GPUs in size create
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Mar 19, 2024
1 parent 545cc2d commit 904d939
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/size.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func sizeResponseToCreate(r *models.V1SizeResponse) *models.V1SizeCreateRequest
Max: r.Constraints[i].Max,
Min: r.Constraints[i].Min,
Type: r.Constraints[i].Type,
Gpus: r.Constraints[i].Gpus,
})
}
return &models.V1SizeCreateRequest{
Expand All @@ -175,6 +176,7 @@ func sizeResponseToUpdate(r *models.V1SizeResponse) *models.V1SizeUpdateRequest
Max: r.Constraints[i].Max,
Min: r.Constraints[i].Min,
Type: r.Constraints[i].Type,
Gpus: r.Constraints[i].Gpus,
})
}
return &models.V1SizeUpdateRequest{
Expand Down

0 comments on commit 904d939

Please sign in to comment.