From 904d93971b02186e88fc52d5d89ccb4562ecea8c Mon Sep 17 00:00:00 2001 From: Stefan Majer Date: Tue, 19 Mar 2024 11:15:50 +0100 Subject: [PATCH] Add GPUs in size create --- cmd/size.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/size.go b/cmd/size.go index 288a8246..13f2b829 100644 --- a/cmd/size.go +++ b/cmd/size.go @@ -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{ @@ -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{