Skip to content

Update vela/queue_test.go #1391

Update vela/queue_test.go

Update vela/queue_test.go #1391

GitHub Actions / golangci failed Sep 25, 2023 in 1s

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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
		^