Skip to content

IWF-208: Change logic from checking if any state skips waitUntil to all

Sign in for the full log view
GitHub Actions / golangci failed Oct 23, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (1)

service/interpreter/stateExecutionCounter.go|130 col 65| S1002: should omit comparison to bool constant, can be simplified to needsUpdateSA (gosimple)

Filtered Findings (0)

Annotations

Check failure on line 130 in service/interpreter/stateExecutionCounter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] service/interpreter/stateExecutionCounter.go#L130

S1002: should omit comparison to bool constant, can be simplified to `needsUpdateSA` (gosimple)
Raw output
service/interpreter/stateExecutionCounter.go:130:65: S1002: should omit comparison to bool constant, can be simplified to `needsUpdateSA` (gosimple)
	if e.globalVersioner.IsAfterVersionOfExecutingStateIdMode() && needsUpdateSA == true {
	                                                               ^