-
Notifications
You must be signed in to change notification settings - Fork 73
GetDefaultContainerPortNumber to GetDefaultContainerPortName #41
Conversation
@jian-he can you review this ? |
LGTM |
@gaocegege can you look at this as well ? |
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
Could we keep the two functions? I think we may need the GetDefaultContainerPortNumber in the future.
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.
Looks good in general. Could you address @gaocegege’s comment?
job_controller/api/v1/interface.go
Outdated
@@ -62,7 +62,7 @@ type ControllerInterface interface { | |||
GetDefaultContainerName() string | |||
|
|||
// Get the default container port number |
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.
Update the comment here
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaocegege 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 |
@gaocegege @terrytangyuan @jian-he thanks for your comments. |
Thanks for your contribution! 🎉 👍 |
…e in a specific Batch (kubeflow#41) * Add script to query Danni for the number of valid Dans at a given date * Add launcher for danni_count_batch.py
We need to get the port name of container for each job, so we would change the port number to port name in the job controller interface.
This change is