Skip to content

Commit

Permalink
make lint
Browse files Browse the repository at this point in the history
Signed-off-by: Saswata Mukherjee <[email protected]>
  • Loading branch information
saswatamcode committed Dec 12, 2023
1 parent 0b721b5 commit 84e0dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operators/multiclusterobservability/pkg/config/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func getDefaultResourceRequirements(component string, tshirtSize TShirtSize) cor
}
}

// getAdvancedConfigResourceOverride returns the AdvancedConfig overriden resource requirements for a particular o11y workload.
// getAdvancedConfigResourceOverride returns the AdvancedConfig overridden resource requirements for a particular o11y workload.
func getAdvancedConfigResourceOverride(component string, tshirtSize TShirtSize, advanced *observabilityv1beta2.AdvancedConfig) corev1.ResourceRequirements {
resourcesReq := &corev1.ResourceRequirements{}
switch component {
Expand Down Expand Up @@ -224,7 +224,7 @@ func getAdvancedConfigResourceOverride(component string, tshirtSize TShirtSize,
}

// GetResources returns the pre-set resource requirements for a particular o11y workload.
// Always default unless configured via advancedConfig, in which case it is overriden.
// Always default unless configured via advancedConfig, in which case it is overridden.
func GetResources(component string, tshirtSize TShirtSize, advanced *observabilityv1beta2.AdvancedConfig) corev1.ResourceRequirements {
resourceReq := getDefaultResourceRequirements(component, tshirtSize)
if advanced != nil {
Expand Down

0 comments on commit 84e0dd8

Please sign in to comment.