Add instance key to rule data for evaluation #13836
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (8)
api/admin/settings.go|14 col 2| could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
compiler/native/compile.go|74 col 3| unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
cmd/vela-server/server.go|24 col 2| could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
compiler/native/compile.go|74 col 3| unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
compiler/native/clone.go|1| : # github.com/go-vela/server/compiler/native [github.com/go-vela/server/compiler/native.test]
compiler/native/compile.go|74 col 3| unknown field Instance in struct literal of type pipeline.RuleData (typecheck)
router/middleware/compiler_test.go|17 col 2| could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
compiler/native/compile.go|74 col 3| unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
Filtered Findings (0)
Annotations
Check failure on line 14 in api/admin/settings.go
github-actions / golangci
[golangci] api/admin/settings.go#L14
could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
Raw output
api/admin/settings.go:14:2: could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
Check failure on line 74 in compiler/native/compile.go
github-actions / golangci
[golangci] compiler/native/compile.go#L74
unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
Raw output
compiler/native/compile.go:74:3: unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
"github.com/go-vela/server/compiler/native"
^
Check failure on line 24 in cmd/vela-server/server.go
github-actions / golangci
[golangci] cmd/vela-server/server.go#L24
could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
Raw output
cmd/vela-server/server.go:24:2: could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
Check failure on line 74 in compiler/native/compile.go
github-actions / golangci
[golangci] compiler/native/compile.go#L74
unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
Raw output
compiler/native/compile.go:74:3: unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
"github.com/go-vela/server/compiler/native"
^
Check failure on line 1 in compiler/native/clone.go
github-actions / golangci
[golangci] compiler/native/clone.go#L1
: # github.com/go-vela/server/compiler/native [github.com/go-vela/server/compiler/native.test]
Raw output
compiler/native/clone.go:1: : # github.com/go-vela/server/compiler/native [github.com/go-vela/server/compiler/native.test]
Check failure on line 74 in compiler/native/compile.go
github-actions / golangci
[golangci] compiler/native/compile.go#L74
unknown field Instance in struct literal of type pipeline.RuleData (typecheck)
Raw output
compiler/native/compile.go:74:3: unknown field Instance in struct literal of type pipeline.RuleData (typecheck)
// SPDX-License-Identifier: Apache-2.0
Check failure on line 17 in router/middleware/compiler_test.go
github-actions / golangci
[golangci] router/middleware/compiler_test.go#L17
could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
Raw output
router/middleware/compiler_test.go:17:2: could not import github.com/go-vela/server/compiler/native (-: # github.com/go-vela/server/compiler/native
Check failure on line 74 in compiler/native/compile.go
github-actions / golangci
[golangci] compiler/native/compile.go#L74
unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
Raw output
compiler/native/compile.go:74:3: unknown field Instance in struct literal of type pipeline.RuleData) (typecheck)
"github.com/go-vela/server/compiler/native"
^