Skip to content

Update label membership by host IDs directly #18352

Update label membership by host IDs directly

Update label membership by host IDs directly #18352

Triggered via pull request January 22, 2025 18:25
Status Failure
Total duration 4m 24s
Artifacts

golangci-lint.yml

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

Annotations

20 errors and 1 warning
lint (macos-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (macos-latest): server/mock/datastore_mock.go#L22
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds) (typecheck)
lint (macos-latest): tools/jira-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (macos-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (macos-latest): server/mock/datastore_mock.go#L22
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)) (typecheck)
lint (macos-latest): tools/nvd/nvdvuln/nvdvuln.go#L14
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (macos-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (macos-latest): server/mock/datastore_mock.go#L22
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)) (typecheck)
lint (macos-latest): tools/zendesk-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (macos-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (ubuntu-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (ubuntu-latest): server/mock/datastore_mock.go#L22
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds) (typecheck)
lint (ubuntu-latest): tools/jira-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (ubuntu-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (ubuntu-latest): server/mock/datastore_mock.go#L22
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)) (typecheck)
lint (ubuntu-latest): tools/nvd/nvdvuln/nvdvuln.go#L14
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (ubuntu-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (ubuntu-latest): server/mock/datastore_mock.go#L22
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)) (typecheck)
lint (ubuntu-latest): tools/zendesk-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (ubuntu-latest): server/mock/datastore.go#L17
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method UpdateLabelMembershipByHostIds)
lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636