You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by GitBox <gi...@apache.org> on 2022/03/29 22:26:35 UTC

[GitHub] [yunikorn-core] anuraagnalluri commented on a change in pull request #398: [YUNIKORN-1087] Track scheduling time in the allocation

anuraagnalluri commented on a change in pull request #398:
URL: https://github.com/apache/yunikorn-core/pull/398#discussion_r837958538



##########
File path: pkg/scheduler/objects/allocation.go
##########
@@ -148,6 +158,28 @@ func (a *Allocation) String() string {
 	return fmt.Sprintf("ApplicationID=%s, UUID=%s, AllocationKey=%s, Node=%s, Result=%s", a.ApplicationID, uuid, a.AllocationKey, a.NodeID, a.Result.String())
 }
 
+// Return the time this alloc was created
+// Should be treated as read only not to be modified
+func (a *Allocation) GetCreateTime() time.Time {

Review comment:
       Can likely remove this func. No refs from external pkgs.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org