Skip to content

Refactor mongo scaler #11002

Refactor mongo scaler

Refactor mongo scaler #11002

Triggered via pull request October 22, 2024 18:34
Status Failure
Total duration 5m 58s
Artifacts

pr-validation.yml

on: pull_request
Static Checks
5m 13s
Static Checks
trivy-scan  /  Trivy - ubuntu-latest - fs
44s
trivy-scan / Trivy - ubuntu-latest - fs
Matrix: validate-dev-container
Matrix: validate-dockerfiles
Matrix: validate
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
Static Checks: pkg/scalers/mongo_scaler.go#L120
meta.DbName undefined (type mongoDBMetadata has no field or method DbName)
Static Checks: pkg/scalers/mongo_scaler.go#L154
s.metadata.DbName undefined (type mongoDBMetadata has no field or method DbName)) (typecheck)
Static Checks: pkg/scalers/mongo_scaler.go#L120
meta.DbName undefined (type mongoDBMetadata has no field or method DbName)
Static Checks: pkg/scalers/mongo_scaler.go#L154
s.metadata.DbName undefined (type mongoDBMetadata has no field or method DbName)) (typecheck)
Static Checks: pkg/scalers/mongo_scaler.go#L120
meta.DbName undefined (type mongoDBMetadata has no field or method DbName)
Static Checks: pkg/scalers/mongo_scaler.go#L154
s.metadata.DbName undefined (type mongoDBMetadata has no field or method DbName) (typecheck)
Static Checks: pkg/scalers/mongo_scaler.go#L120
meta.DbName undefined (type mongoDBMetadata has no field or method DbName)
Static Checks: pkg/scalers/mongo_scaler.go#L154
s.metadata.DbName undefined (type mongoDBMetadata has no field or method DbName)) (typecheck)
Static Checks
Process completed with exit code 1.
validate - arm64
ENOENT: no such file or directory, open 'report.xml'
validate - arm64
Process completed with exit code 2.
validate - amd64
The job was canceled because "ARM64_arm64" failed.
validate - amd64
The operation was canceled.
validate - amd64
ENOENT: no such file or directory, open 'report.xml'
Static Checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/