-
Notifications
You must be signed in to change notification settings - Fork 448
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
fix make check #606
fix make check #606
Conversation
@@ -84,7 +84,7 @@ func (d *DefaultClient) ValidateAlgorithmSettings(inst *experimentsv1alpha2.Expe | |||
|
|||
func getExperimentConf(instance *experimentsv1alpha2.Experiment) *api_pb.Experiment { | |||
experiment := &api_pb.Experiment{ | |||
Spec: getExperimentSpec(instance), | |||
Spec: getExperimentSpec(instance), |
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.
Why do we need the change?
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.
Just run make check
, you will got error:
go generate ./pkg/... ./cmd/...
hack/verify-gofmt.sh
diff -u ./pkg/controller/v1alpha2/experiment/managerclient/managerclient.go.orig ./pkg/controller/v1alpha2/experiment/managerclient/managerclient.go
--- ./pkg/controller/v1alpha2/experiment/managerclient/managerclient.go.orig 2019-05-28 19:00:34.080787976 -0700
+++ ./pkg/controller/v1alpha2/experiment/managerclient/managerclient.go 2019-05-28 19:00:34.080787976 -0700
@@ -84,7 +84,7 @@
func getExperimentConf(instance *experimentsv1alpha2.Experiment) *api_pb.Experiment {
experiment := &api_pb.Experiment{
- Spec: getExperimentSpec(instance),
+ Spec: getExperimentSpec(instance),
Status: &api_pb.ExperimentStatus{
StartTime: commonv1alpha2.ConvertTime2RFC3339(instance.Status.StartTime),
CompletionTime: commonv1alpha2.ConvertTime2RFC3339(instance.Status.CompletionTime),
Please run hack/update-gofmt.sh
That's why I want to add make check
to prow.
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.
Gotcha
/lgtm |
[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 |
Can you add make check in CI? |
Will check with @hougangliu for this #607 |
/test kubeflow-katib-presubmit |
/retest |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note:
/cc @hougangliu @gaocegege
This change is