You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by ch...@apache.org on 2023/12/07 04:54:18 UTC

(yunikorn-k8shim) branch master updated: [YUNIKORN-2222] Remove QuotaApproved state (#746)

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

chia7712 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 dc98af0a [YUNIKORN-2222] Remove QuotaApproved state (#746)
dc98af0a is described below

commit dc98af0aad59b2cfbfdc0b6895e188af73dc437c
Author: targetoee <10...@users.noreply.github.com>
AuthorDate: Thu Dec 7 12:54:12 2023 +0800

    [YUNIKORN-2222] Remove QuotaApproved state (#746)
    
    Reviewers: Wilfred Spiegelenburg <wi...@apache.org>, Chia-Ping Tsai <ch...@gmail.com>
---
 pkg/cache/task.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/cache/task.go b/pkg/cache/task.go
index 0d20cd52..0b556ff4 100644
--- a/pkg/cache/task.go
+++ b/pkg/cache/task.go
@@ -346,7 +346,7 @@ func (task *Task) postTaskAllocated() {
 
 			dispatcher.Dispatch(NewBindTaskEvent(task.applicationID, task.taskID))
 			events.GetRecorder().Eventf(task.pod.DeepCopy(),
-				nil, v1.EventTypeNormal, "QuotaApproved", "QuotaApproved",
+				nil, v1.EventTypeNormal, "Pending", "Pending",
 				"Pod %s is ready for scheduling on node %s", task.alias, task.nodeName)
 		} else {
 			// post a message to indicate the pod gets its allocation


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org