Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: YujiOshima <[email protected]>
  • Loading branch information
YujiOshima committed Oct 15, 2018
1 parent f859e36 commit 2faf5d8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkg/controller/studyjobcontroller/studyjob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,11 +651,12 @@ func (r *ReconcileStudyJobController) saveModel(c katibapi.ManagerClient, studyI
getStudyreq := &katibapi.GetStudyRequest{
StudyId: studyId,
}
getStudyReply, err := c.GetStudy(ctx, getStudyreq)
if err != nil {
return err
}
sc := getStudyReply.StudyConfig
// Disable ModelDB
//getStudyReply, err := c.GetStudy(ctx, getStudyreq)
//if err != nil {
// return err
//}
//sc := getStudyReply.StudyConfig
getMetricsRequest := &katibapi.GetMetricsRequest{
StudyId: studyId,
WorkerIds: []string{workerId},
Expand Down

0 comments on commit 2faf5d8

Please sign in to comment.