Backend build for script automation #16212
Annotations
20 errors and 2 warnings
lint (macos-latest):
server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (wrong type for method BatchSetScripts)
|
lint (macos-latest):
server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (wrong type for method BatchSetScripts)
|
lint (macos-latest):
cmd/osquery-perf/installer_cache/installer-cache.go#L9
could not import github.com/fleetdm/fleet/v4/server/service (-: # github.com/fleetdm/fleet/v4/server/service
|
lint (macos-latest):
server/service/client.go#L749
undefined: teamScripts
|
lint (macos-latest):
server/service/client.go#L1463
declared and not used: teamsScripts
|
lint (macos-latest):
server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
|
lint (macos-latest):
server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement) (typecheck)
|
lint (macos-latest):
cmd/osquery-perf/agent.go#L36
could not import github.com/fleetdm/fleet/v4/server/service (-: # github.com/fleetdm/fleet/v4/server/service
|
lint (macos-latest):
server/service/client.go#L749
undefined: teamScripts
|
lint (macos-latest):
server/service/client.go#L1463
declared and not used: teamsScripts
|
lint (ubuntu-latest):
orbit/pkg/useraction/mdm_migration_notdarwin.go#L10
could not import github.com/fleetdm/fleet/v4/server/service (-: # github.com/fleetdm/fleet/v4/server/service
|
lint (ubuntu-latest):
server/service/client.go#L749
undefined: teamScripts
|
lint (ubuntu-latest):
server/service/client.go#L1463
declared and not used: teamsScripts
|
lint (ubuntu-latest):
server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
|
lint (ubuntu-latest):
server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement) (typecheck)
|
lint (ubuntu-latest):
server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (wrong type for method BatchSetScripts)
|
lint (ubuntu-latest):
server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (wrong type for method BatchSetScripts)
|
lint (ubuntu-latest):
cmd/osquery-perf/installer_cache/installer-cache.go#L9
could not import github.com/fleetdm/fleet/v4/server/service (-: # github.com/fleetdm/fleet/v4/server/service
|
lint (ubuntu-latest):
server/service/client.go#L749
undefined: teamScripts
|
lint (ubuntu-latest):
server/service/client.go#L1463
declared and not used: teamsScripts
|
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/
|