[
https://issues.apache.org/jira/browse/YUNIKORN-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated YUNIKORN-3401:
-------------------------------------
Labels: pull-request-available (was: )
> Fix nonamedreturns lint error in application_property_test.go
> -------------------------------------------------------------
>
> Key: YUNIKORN-3401
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3401
> Project: Apache YuniKorn
> Issue Type: Bug
> Reporter: weichen lai
> Assignee: weichen lai
> Priority: Minor
> Labels: pull-request-available
>
> Currently, CI builds and local pre-commit checks (`make lint` or `make
> test_all`) fail on master with the following error:
>
> running golangci-lint
> pkg/scheduler/objects/application_property_test.go:489:1: named return
> "distinctPendingPriorities" with type "int" found (nonamedreturns)
> func assertFuzzInvariants(t *testing.T, app *Application, keyPriority
> map[string]int32, pendingKeys map[string]bool, seed int64, step int)
> (distinctPendingPriorities int) {
> ^
> 1 issues:
> \* nonamedreturns: 1
> make: *** [Makefile:137: lint] Error 1
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]