Update vela/queue_test.go #1391
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (5)
vela/context.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
vela/deployment.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
vela/doc.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
vela/schedule_test.go|151 col 31| G601: Implicit memory aliasing in for loop. (gosec)
vela/client.go|62 col 3| client
is unused (structcheck)
Filtered Findings (0)
Annotations
Check failure on line 1 in vela/context.go
github-actions / golangci
[golangci] vela/context.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
vela/context.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
^
Check failure on line 1 in vela/deployment.go
github-actions / golangci
[golangci] vela/deployment.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
vela/deployment.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
^
Check failure on line 1 in vela/doc.go
github-actions / golangci
[golangci] vela/doc.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
vela/doc.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
^
Check failure on line 151 in vela/schedule_test.go
github-actions / golangci
[golangci] vela/schedule_test.go#L151
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
vela/schedule_test.go:151:31: G601: Implicit memory aliasing in for loop. (gosec)
if !reflect.DeepEqual(got, &test.want) {
^
Check failure on line 62 in vela/client.go
github-actions / golangci
[golangci] vela/client.go#L62
`client` is unused (structcheck)
Raw output
vela/client.go:62:3: `client` is unused (structcheck)
client *Client
^