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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]