Skip to content

Commit

Permalink
Spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Jul 30, 2024
1 parent e52d349 commit 5167137
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/metal-api/internal/service/v1/partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
4 changes: 2 additions & 2 deletions spec/metal-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 5167137

Please sign in to comment.