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

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


The following commit(s) were added to refs/heads/master by this push:
     new 67b1523  [YUNIKORN-1954] remove KeyAllowPreemption (#104)
67b1523 is described below

commit 67b1523ba495d91872c6238115d00ae913b86c89
Author: PoAn Yang <[email protected]>
AuthorDate: Tue Sep 5 19:57:41 2023 +0800

    [YUNIKORN-1954] remove KeyAllowPreemption (#104)
    
    Signed-off-by: PoAn Yang <[email protected]>
    
    Closes: #104
    
    Signed-off-by: PoAn Yang <[email protected]>
---
 lib/go/common/constants.go  | 7 +++----
 scheduler-interface-spec.md | 1 -
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/go/common/constants.go b/lib/go/common/constants.go
index 124d93f..afa666f 100644
--- a/lib/go/common/constants.go
+++ b/lib/go/common/constants.go
@@ -48,10 +48,9 @@ const (
        GroupAnnotation = "annotation/"
 
        // Keys
-       KeyPodName         = "podName"
-       KeyNamespace       = "namespace"
-       KeyRequiredNode    = "requiredNode"
-       KeyAllowPreemption = "allowPreemption"
+       KeyPodName      = "podName"
+       KeyNamespace    = "namespace"
+       KeyRequiredNode = "requiredNode"
 
        // Pods
        CreationTime = "creationTime"
diff --git a/scheduler-interface-spec.md b/scheduler-interface-spec.md
index c55f424..1dcdef8 100644
--- a/scheduler-interface-spec.md
+++ b/scheduler-interface-spec.md
@@ -744,7 +744,6 @@ const (
        KeyPodName         = "podName"
        KeyNamespace       = "namespace"
        KeyRequiredNode    = "requiredNode"
-       KeyAllowPreemption = "allowPreemption"
 
        // Pods
        CreationTime    = "creationTime"


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

Reply via email to