weichen lai created YUNIKORN-3401:
-------------------------------------
Summary: 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
Currently, CI builds and local pre-commit checks (`make lint` or `make
test_all`) fail on master with the following error:
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) {
^
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]