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

pbacsko 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 9740c923 [YUNIKORN-2238] Fix typo in SetPlaceholderCreateTime 
parameter (#748)
9740c923 is described below

commit 9740c923049e9f656a2e86dc57aebb7e346bb66c
Author: targetoee <[email protected]>
AuthorDate: Wed Dec 6 14:13:00 2023 +0100

    [YUNIKORN-2238] Fix typo in SetPlaceholderCreateTime parameter (#748)
    
    Closes: #748
    
    Signed-off-by: Peter Bacsko <[email protected]>
---
 pkg/scheduler/objects/allocation.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/scheduler/objects/allocation.go 
b/pkg/scheduler/objects/allocation.go
index 9a3422c4..f165ad56 100644
--- a/pkg/scheduler/objects/allocation.go
+++ b/pkg/scheduler/objects/allocation.go
@@ -264,10 +264,10 @@ func (a *Allocation) GetPlaceholderCreateTime() time.Time 
{
 }
 
 // SetPlaceholderCreateTime updates the placeholder's creation time
-func (a *Allocation) SetPlaceholderCreateTime(placeholdereCreateTime 
time.Time) {
+func (a *Allocation) SetPlaceholderCreateTime(placeholderCreateTime time.Time) 
{
        a.Lock()
        defer a.Unlock()
-       a.placeholderCreateTime = placeholdereCreateTime
+       a.placeholderCreateTime = placeholderCreateTime
 }
 
 // IsPlaceholder returns whether the allocation is a placeholder


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

Reply via email to