Skip to content

feat: add common reconciliation functions to cut down on code duplication #1414

feat: add common reconciliation functions to cut down on code duplication

feat: add common reconciliation functions to cut down on code duplication #1414

Triggered via pull request October 6, 2023 20:45
Status Failure
Total duration 4m 20s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Matrix: build
Matrix: gosec
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 2 warnings
lint (ubuntu-latest, 1.19.x): controllers/falcon_container/falconcontainer_controller.go#L10
could not import github.com/crowdstrike/falcon-operator/internal/controller/common (-: # github.com/crowdstrike/falcon-operator/internal/controller/common
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L20
undefined: v1alpha1.FalconCRStatus
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L71
undefined: v1alpha1.FalconCRStatus
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L116
undefined: v1alpha1.FalconCRStatus
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L133
undefined: v1alpha1.ReasonDeleteFailed
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L147
undefined: v1alpha1.ReasonDeleteSucceeded
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L162
undefined: v1alpha1.FalconCRStatus) (typecheck)
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L20
undefined: v1alpha1.FalconCRStatus
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L71
undefined: v1alpha1.FalconCRStatus
lint (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L116
undefined: v1alpha1.FalconCRStatus
build (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L20
undefined: v1alpha1.FalconCRStatus
build (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L71
undefined: v1alpha1.FalconCRStatus
build (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L116
undefined: v1alpha1.FalconCRStatus
build (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L133
undefined: v1alpha1.ReasonDeleteFailed
build (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L147
undefined: v1alpha1.ReasonDeleteSucceeded
build (ubuntu-latest, 1.19.x): internal/controller/common/utils.go#L162
undefined: v1alpha1.FalconCRStatus
build (ubuntu-latest, 1.19.x)
FalconCRStatus not declared by package v1alpha1
build (ubuntu-latest, 1.19.x)
Process completed with exit code 2.
lint (ubuntu-latest, 1.19.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/falcon-operator/falcon-operator. Supported file pattern: go.sum
build (ubuntu-latest, 1.19.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/falcon-operator/falcon-operator. Supported file pattern: go.sum