Skip to content

Commit

Permalink
* TrainingJob.update should log the value of the job not the pointer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlewi committed Mar 25, 2018
1 parent cc5e9f6 commit 477bc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trainer/training.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func NewJob(kubeCli kubernetes.Interface, tfJobClient tfjobclient.Interface, rec
// For example, if the user issues a delete request. This will update the metadata on the object
// so we need to replace the spec.
func (j *TrainingJob) Update(newJob *tfv1alpha1.TFJob) {
j.contextLogger.Info("Updating job to %+v", newJob)
j.contextLogger.Info("Updating job to %+v", *newJob)
j.job = newJob
}

Expand Down

0 comments on commit 477bc5e

Please sign in to comment.