Skip to content

feat: translate deprecated fields to annotations #15135

feat: translate deprecated fields to annotations

feat: translate deprecated fields to annotations #15135

Triggered via pull request August 27, 2024 12:23
Status Failure
Total duration 6m 20s
Artifacts

scan-codeql.yml

on: pull_request
Matrix: codeql-scan
Fit to window
Zoom out
Zoom in

Annotations

7 errors
codeql-scan (go): src/pkg/packager/filters/deploy.go#L22
cannot use &deploymentFilter{…} (value of type *deploymentFilter) as ComponentFilterStrategy value in return statement: *deploymentFilter does not implement ComponentFilterStrategy (wrong type for method Apply)
codeql-scan (go): src/pkg/packager/filters/deploy.go#L98
component.DeprecatedGroup undefined (type "github.com/zarf-dev/zarf/src/api/v1beta1".ZarfComponent has no field or method DeprecatedGroup)
codeql-scan (go): src/pkg/packager/filters/deploy.go#L138
cannot use group (variable of type []"github.com/zarf-dev/zarf/src/api/v1beta1".ZarfComponent) as []"github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfComponent value in argument to interactive.SelectChoiceGroup
codeql-scan (go): src/pkg/packager/filters/deploy.go#L142
cannot use component (variable of type "github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfComponent) as "github.com/zarf-dev/zarf/src/api/v1beta1".ZarfComponent value in argument to append
codeql-scan (go): src/pkg/packager/filters/deploy.go#L170
cannot use component (variable of type "github.com/zarf-dev/zarf/src/api/v1beta1".ZarfComponent) as "github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfComponent value in argument to interactive.SelectOptionalComponent
codeql-scan (go): src/internal/packager/helm/common.go#L57
cannot use chart (variable of type "github.com/zarf-dev/zarf/src/api/v1beta1".ZarfChart) as "github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfChart value in struct literal
codeql-scan (go)
Process completed with exit code 2.