-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement GetSuggestions for general suggestion #546
Conversation
/lgtm I forgot to open an issue to keep track of the issue, thanks for the PR. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hougangliu 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 |
@@ -319,7 +319,7 @@ func (r *ReconcileExperiment) ReconcileTrials(instance *experimentsv1alpha2.Expe | |||
} | |||
|
|||
} else if activeCount < parallelCount { | |||
requiredActiveCount := 0 | |||
var requiredActiveCount int32 = 0 |
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.
var initializes to zero by default
AlgorithmName: instance.Spec.Algorithm.AlgorithmName, | ||
RequestNumber: *instance.Spec.ParallelTrialCount, | ||
} | ||
if reply, err :=common.GetSuggestions(request); err != nil { |
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.
Format here is not gofmted, since the code is merged, we could format it in another PR about suggestion.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)