Skip to content

Commit

Permalink
Ignore unused constants about App CRD config layer priority levels
Browse files Browse the repository at this point in the history
These will be used in merging logics and makes sense to keep with the actual
configuration.
  • Loading branch information
uvegla committed Jul 1, 2022
1 parent be99db1 commit 6c89c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/app_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const (
// NOTE: These should match the kubebuilder annotations set on AppExtraConfig
configPriorityDistance = 50
configPriorityCatalog = 0
configPriorityDefault = configPriorityCatalog + configPriorityDistance/2
configPriorityDefault = configPriorityCatalog + configPriorityDistance/2 //nolint:unused
configPriorityCluster = configPriorityCatalog + configPriorityDistance
configPriorityUser = configPriorityCluster + configPriorityDistance
configPriorityMaximum = configPriorityUser + configPriorityDistance
configPriorityMaximum = configPriorityUser + configPriorityDistance //nolint:unused
)

func NewAppTypeMeta() metav1.TypeMeta {
Expand Down

0 comments on commit 6c89c12

Please sign in to comment.