diff --git a/pkg/controller.v2/tensorflow/job.go b/pkg/controller.v2/tensorflow/job.go index c0d646fdbb..fcae5c8980 100644 --- a/pkg/controller.v2/tensorflow/job.go +++ b/pkg/controller.v2/tensorflow/job.go @@ -93,7 +93,7 @@ func (tc *TFController) addTFJob(obj interface{}) { // Convert from tfjob object err = unstructuredFromTFJob(obj, tfJob) if err != nil { - logger.Error("Failed to convert the obj: %v", err) + logger.Errorf("Failed to convert the obj: %v", err) return } tc.enqueueTFJob(obj)