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

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


The following commit(s) were added to refs/heads/master by this push:
     new fabbce34 [YUNIKORN-2807] Don't log 'task missing' as ERROR (#892)
fabbce34 is described below

commit fabbce34a46b7d78465286b4585a201b753c7374
Author: Craig Condit <[email protected]>
AuthorDate: Thu Aug 15 16:51:43 2024 -0500

    [YUNIKORN-2807] Don't log 'task missing' as ERROR (#892)
    
    Closes: #892
---
 pkg/cache/context.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/cache/context.go b/pkg/cache/context.go
index 6b791923..61fe1ea0 100644
--- a/pkg/cache/context.go
+++ b/pkg/cache/context.go
@@ -1260,7 +1260,7 @@ func (ctx *Context) TaskEventHandler() func(obj 
interface{}) {
                        taskID := event.GetTaskID()
                        task := ctx.getTask(appID, taskID)
                        if task == nil {
-                               log.Log(log.ShimContext).Error("failed to 
handle task event, task does not exist",
+                               log.Log(log.ShimContext).Debug("failed to 
handle task event, task does not exist",
                                        zap.String("applicationID", appID),
                                        zap.String("taskID", taskID))
                                return


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

Reply via email to