Skip to content

Optimize query for Apple MDM profiles summary #16046

Optimize query for Apple MDM profiles summary

Optimize query for Apple MDM profiles summary #16046

Triggered via pull request September 23, 2024 18:42
Status Failure
Total duration 3m 33s
Artifacts

golangci-lint.yml

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

Annotations

14 errors and 2 warnings
lint (macos-latest): server/datastore/mysql/apple_mdm.go#L2539
const `appleMDMFailedProfilesStmt` is unused (unused)
lint (macos-latest): server/datastore/mysql/apple_mdm.go#L2543
const `appleMDMPendingProfilesStmt` is unused (unused)
lint (macos-latest): server/datastore/mysql/apple_mdm.go#L2564
const `appleMDMVerifyingProfilesStmt` is unused (unused)
lint (macos-latest): server/datastore/mysql/apple_mdm.go#L2603
const `appleVerifiedProfilesStmt` is unused (unused)
lint (macos-latest): server/datastore/mysql/apple_mdm.go#L2627
func `subqueryAppleProfileStatus` is unused (unused)
lint (macos-latest): server/datastore/mysql/apple_mdm.go#L2674
func `subqueryAppleDeclarationStatus` is unused (unused)
lint (macos-latest)
Process completed with exit code 2.
lint (ubuntu-latest): server/datastore/mysql/apple_mdm.go#L2539
const `appleMDMFailedProfilesStmt` is unused (unused)
lint (ubuntu-latest): server/datastore/mysql/apple_mdm.go#L2543
const `appleMDMPendingProfilesStmt` is unused (unused)
lint (ubuntu-latest): server/datastore/mysql/apple_mdm.go#L2564
const `appleMDMVerifyingProfilesStmt` is unused (unused)
lint (ubuntu-latest): server/datastore/mysql/apple_mdm.go#L2603
const `appleVerifiedProfilesStmt` is unused (unused)
lint (ubuntu-latest): server/datastore/mysql/apple_mdm.go#L2627
func `subqueryAppleProfileStatus` is unused (unused)
lint (ubuntu-latest): server/datastore/mysql/apple_mdm.go#L2674
func `subqueryAppleDeclarationStatus` is unused (unused)
lint (ubuntu-latest)
Process completed with exit code 2.
lint (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/