Skip to content

Update API for MDM profiles with "include any" labels option #16769

Update API for MDM profiles with "include any" labels option

Update API for MDM profiles with "include any" labels option #16769

Triggered via pull request November 1, 2024 15:29
Status Failure
Total duration 3m 56s
Artifacts

golangci-lint.yml

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

Annotations

20 errors and 2 warnings
lint (macos-latest): server/service/apple_mdm_test.go#L675
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (macos-latest): server/service/apple_mdm_test.go#L679
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (macos-latest): server/service/apple_mdm_test.go#L743
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (macos-latest): server/service/apple_mdm_test.go#L752
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (macos-latest): server/service/apple_mdm_test.go#L784
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleDeclaration
lint (macos-latest): server/service/apple_mdm_test.go#L800
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleDeclaration
lint (macos-latest): server/service/mdm_test.go#L1130
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMWindowsConfigProfile
lint (macos-latest): server/service/mdm_test.go#L1134
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMWindowsConfigProfile
lint (macos-latest): server/service/mdm_test.go#L1219
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMWindowsConfigProfile (typecheck)
lint (macos-latest)
Process completed with exit code 2.
lint (ubuntu-latest): server/service/apple_mdm_test.go#L675
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (ubuntu-latest): server/service/apple_mdm_test.go#L679
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (ubuntu-latest): server/service/apple_mdm_test.go#L743
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (ubuntu-latest): server/service/apple_mdm_test.go#L752
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleConfigProfile
lint (ubuntu-latest): server/service/apple_mdm_test.go#L784
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleDeclaration
lint (ubuntu-latest): server/service/apple_mdm_test.go#L800
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMAppleDeclaration
lint (ubuntu-latest): server/service/mdm_test.go#L1130
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMWindowsConfigProfile
lint (ubuntu-latest): server/service/mdm_test.go#L1134
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMWindowsConfigProfile
lint (ubuntu-latest): server/service/mdm_test.go#L1219
cannot use false (untyped bool constant) as fleet.MDMLabelsMode value in argument to svc.NewMDMWindowsConfigProfile (typecheck)
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/