From 6c89c12f6e946260b75f7894881a44de2d37207a Mon Sep 17 00:00:00 2001 From: Laszlo Uveges Date: Fri, 1 Jul 2022 14:58:37 +0200 Subject: [PATCH] Ignore unused constants about App CRD config layer priority levels These will be used in merging logics and makes sense to keep with the actual configuration. --- api/v1alpha1/app_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1alpha1/app_types.go b/api/v1alpha1/app_types.go index 4118e5c..cce934d 100644 --- a/api/v1alpha1/app_types.go +++ b/api/v1alpha1/app_types.go @@ -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 {