This is an automated email from the ASF dual-hosted git repository.

chenyulin0719 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 58d4cee4 [YUNIKORN-3401] Fix nonamedreturns lint error in 
application_property_test.go (#1134)
58d4cee4 is described below

commit 58d4cee47ad60b46bd030c33a5d8a6c723dcc473
Author: PoiBlackTea <[email protected]>
AuthorDate: Sun Aug 23 08:22:09 2026 +0000

    [YUNIKORN-3401] Fix nonamedreturns lint error in 
application_property_test.go (#1134)
    
    Closes: #1134
    
    Signed-off-by: Yu-Lin Chen <[email protected]>
---
 pkg/scheduler/objects/application_property_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/scheduler/objects/application_property_test.go 
b/pkg/scheduler/objects/application_property_test.go
index 36d23f30..d07fe810 100644
--- a/pkg/scheduler/objects/application_property_test.go
+++ b/pkg/scheduler/objects/application_property_test.go
@@ -486,7 +486,7 @@ func pickRandomExistingKey(rng *rand.Rand, keyPriority 
map[string]int32) (string
 // failure is reproducible via `go test -run .../seed-<seed>`.
 // It returns the number of distinct pending priorities observed this step, so 
the caller can track
 // coverage high-water marks without a second pass over pendingKeys.
-func assertFuzzInvariants(t *testing.T, app *Application, keyPriority 
map[string]int32, pendingKeys map[string]bool, seed int64, step int) 
(distinctPendingPriorities int) {
+func assertFuzzInvariants(t *testing.T, app *Application, keyPriority 
map[string]int32, pendingKeys map[string]bool, seed int64, step int) int {
        t.Helper()
 
        wantHistogram := make(map[int32]int)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to