diff --git a/cmd/metal-api/internal/service/v1/partition.go b/cmd/metal-api/internal/service/v1/partition.go index f5d186488..bf3f2f8c7 100644 --- a/cmd/metal-api/internal/service/v1/partition.go +++ b/cmd/metal-api/internal/service/v1/partition.go @@ -63,9 +63,9 @@ type ServerCapacity struct { // Waiting is the amount of machines that are currently available for allocation. Waiting int `json:"waiting" description:"machines waiting for allocation with this size"` // Other is the amount of machines that are neither allocated nor in the pool of available machines because they are currently in another provisioning state. - Other int `json:"other" description:"machines neither allocated or waiting with this size"` + Other int `json:"other" description:"machines neither allocated nor waiting with this size"` // OtherMachines contains the machine IDs for machines that were classified into "Other". - OtherMachines []string `json:"othermachines" description:"machine ids neither allocated or waiting with this size"` + OtherMachines []string `json:"othermachines" description:"machine ids neither allocated nor waiting with this size"` // Faulty is the amount of machines that are neither allocated nor in the pool of available machines because they report an error. Faulty int `json:"faulty" description:"machines with issues with this size"` diff --git a/spec/metal-api.json b/spec/metal-api.json index e00d14dee..04e06e880 100644 --- a/spec/metal-api.json +++ b/spec/metal-api.json @@ -4414,12 +4414,12 @@ "type": "integer" }, "other": { - "description": "machines neither allocated or waiting with this size", + "description": "machines neither allocated nor waiting with this size", "format": "int32", "type": "integer" }, "othermachines": { - "description": "machine ids neither allocated or waiting with this size", + "description": "machine ids neither allocated nor waiting with this size", "items": { "type": "string" },