Skip to content

Commit

Permalink
Linting correction
Browse files Browse the repository at this point in the history
  • Loading branch information
andreacv98 committed Jan 22, 2024
1 parent 0ac137e commit 952d8a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apis/nodecore/v1alpha1/solver_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type FlavourSelector struct {

// MatchSelector represents the criteria for selecting Flavours through a strict match.
type MatchSelector struct {
Cpu resource.Quantity `json:"cpu,omitempty"`
CPU resource.Quantity `json:"cpu,omitempty"`
Memory resource.Quantity `json:"memory,omitempty"`
Pods resource.Quantity `json:"pods,omitempty"`
Storage resource.Quantity `json:"storage,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion apis/nodecore/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/utils/parseutil/parseutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func ParseFlavourSelector(selector *nodecorev1alpha1.FlavourSelector) *models.Se

if selector.MatchSelector != nil {
s.MatchSelector = &models.MatchSelector{
CPU: selector.MatchSelector.Cpu,
CPU: selector.MatchSelector.CPU,
Memory: selector.MatchSelector.Memory,
Pods: selector.MatchSelector.Pods,
EphemeralStorage: selector.MatchSelector.EphemeralStorage,
Expand Down

0 comments on commit 952d8a9

Please sign in to comment.