Paginate list queries #16777
Annotations
10 errors and 1 warning
Run go lint:
cmd/fleetctl/get_test.go#L1253
cannot use func(ctx context.Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/get_test.go#L1566
cannot use func(ctx context.Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/get_test.go#L1797
cannot use func(ctx context.Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/get_test.go#L1818
cannot use func(ctx context.Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opt fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/gitops_test.go#L72
cannot use func(ctx context.Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/gitops_test.go#L227
cannot use func(ctx context.Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/gitops_test.go#L367
cannot use func(ctx context.Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/gitops_test.go#L603
cannot use func(ctx context.Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/gitops_test.go#L864
cannot use func(ctx context.Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
Run go lint:
cmd/fleetctl/gitops_test.go#L1157
cannot use func(ctx context.Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error) {…} (value of type func(ctx "context".Context, opts fleet.ListQueryOptions) ([]*fleet.Query, error)) as "github.com/fleetdm/fleet/v4/server/mock".ListQueriesFunc value in assignment
|
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/
|
Loading