-
Notifications
You must be signed in to change notification settings - Fork 73
Make UpdateJobConditions public to be used by custom operators #30
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we place the helper function is a separate package?
sounds good, which package/file should we put ? |
SGTM. job_controller/util.go |
I ended up moving the util methods to util/status.go. Please check if making sense |
this patch only moves the code from one to another and should not affect test coverage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/cc @richardsliu
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardsliu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
UpdateJobConditions can be used as the util method by custom operators when updating the JobStatus in the UpdateJobStatus api
This change is