Backend build for script automation #16465
Annotations
10 errors and 1 warning
Run Go Tests:
cmd/fleetctl/get_test.go#L2309
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L62
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L214
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L330
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L519
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L707
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L1043
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L1321
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
cmd/fleetctl/gitops_test.go#L2193
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
|
Run Go Tests:
server/datastore/mysql/scripts_test.go#L662
assignment mismatch: 1 variable but ds.BatchSetScripts returns 2 values
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading