Skip to content

chore: Refactor Mandatorymodule controller to 3 tier structure #5414

chore: Refactor Mandatorymodule controller to 3 tier structure

chore: Refactor Mandatorymodule controller to 3 tier structure #5414

Triggered via pull request February 27, 2025 15:45
Status Failure
Total duration 3m 15s
Artifacts

lint-golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/controller/mandatorymodule/deletion_controller.go#L30
could not import github.com/kyma-project/lifecycle-manager/internal/service (-: # github.com/kyma-project/lifecycle-manager/internal/service
lint
s.KymaRepository.GetKyma undefined (type *repository.KymaRepository has no field or method GetKyma)) (typecheck)
lint
s.KymaRepository.GetKyma undefined (type *repository.KymaRepository has no field or method GetKyma) (typecheck)
lint: pkg/templatelookup/mandatory_test.go#L12
could not import github.com/kyma-project/lifecycle-manager/internal/service (-: # github.com/kyma-project/lifecycle-manager/internal/service
lint
s.KymaRepository.GetKyma undefined (type *repository.KymaRepository has no field or method GetKyma)) (typecheck)
lint: pkg/testutils/moduletemplate.go#L14
could not import github.com/kyma-project/lifecycle-manager/internal/service (-: # github.com/kyma-project/lifecycle-manager/internal/service
lint
s.KymaRepository.GetKyma undefined (type *repository.KymaRepository has no field or method GetKyma)) (typecheck)
lint: tests/e2e/deprovision_test.go#L18
undefined: NewKymaWithSyncLabel (typecheck)
lint: tests/e2e/deprovision_test.go#L19
undefined: NewTemplateOperator (typecheck)
lint: tests/e2e/deprovision_test.go#L20
undefined: NewTestModuleCR (typecheck)