Skip to content

🐛 Set asset annotations during cnspec serve. #2459

🐛 Set asset annotations during cnspec serve.

🐛 Set asset annotations during cnspec serve. #2459

Triggered via push February 22, 2024 15:16
Status Failure
Total duration 2m 7s
Artifacts 2

pr-test-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors
golangci-lint: apps/cnspec/cmd/bundle.go#L1
: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
golangci-lint: apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
golangci-lint: apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse (typecheck)
golangci-lint: apps/cnspec/cnspec.go#L9
could not import go.mondoo.com/cnspec/v10/apps/cnspec/cmd (-: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
golangci-lint: apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
golangci-lint: apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse) (typecheck)
golangci-lint: apps/gen-docs/main.go#L11
could not import go.mondoo.com/cnspec/v10/apps/cnspec/cmd (-: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
golangci-lint: apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
golangci-lint: apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse) (typecheck)
golangci-lint: test/cli/cli_test.go#L14
could not import go.mondoo.com/cnspec/v10/apps/cnspec/cmd (-: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
go-test: apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
go-test: apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
go-test: apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
go-test: apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
go-test
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
Event File Expired
2.15 KB
test-results Expired
4.05 KB