From 9ad817ffd207f390f62fd0c59cd8e2b28f82b5b8 Mon Sep 17 00:00:00 2001 From: "henryzhang147@gmail.com" Date: Tue, 19 Sep 2023 09:47:11 -0500 Subject: [PATCH] [YUNIKORN-1991] Fix wrong log key in Application (#654) Closes: #654 Signed-off-by: Craig Condit --- pkg/scheduler/objects/application.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/objects/application.go b/pkg/scheduler/objects/application.go index 0124ddf17..84f8f9874 100644 --- a/pkg/scheduler/objects/application.go +++ b/pkg/scheduler/objects/application.go @@ -678,7 +678,7 @@ func (sa *Application) AddAllocationAsk(ask *AllocationAsk) error { log.Log(log.SchedApplication).Info("ask added successfully to application", zap.String("appID", sa.ApplicationID), - zap.String("appID", sa.user.User), + zap.String("user", sa.user.User), zap.String("ask", ask.GetAllocationKey()), zap.Bool("placeholder", ask.IsPlaceholder()), zap.Stringer("pendingDelta", delta))