Skip to content

Commit

Permalink
issue-11296 - WIP - reverted job_server.go
Browse files Browse the repository at this point in the history
Signed-off-by: Helber Belmiro <[email protected]>
  • Loading branch information
hbelmiro committed Dec 16, 2024
1 parent 81825c0 commit c9ee5da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/apiserver/server/job_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package server

import (
"context"

"github.com/golang/protobuf/ptypes/empty"
apiv1beta1 "github.com/kubeflow/pipelines/backend/api/v1beta1/go_client"
apiv2beta1 "github.com/kubeflow/pipelines/backend/api/v2beta1/go_client"
Expand Down Expand Up @@ -114,7 +115,6 @@ func (s *JobServer) CreateJob(ctx context.Context, request *apiv1beta1.CreateJob
if err != nil {
return nil, util.Wrap(err, "Failed to create a recurring run due to conversion error")
}

newJob, err := s.createJob(ctx, modelJob)
if err != nil {
return nil, util.Wrap(err, "Failed to create a recurring run")
Expand Down Expand Up @@ -299,7 +299,6 @@ func (s *JobServer) CreateRecurringRun(ctx context.Context, request *apiv2beta1.
if err != nil {
return nil, util.Wrap(err, "Failed to create a recurring run due to conversion error")
}

newRecurringRun, err := s.createJob(ctx, modelJob)
if err != nil {
return nil, util.Wrap(err, "Failed to create a recurring run")
Expand Down

0 comments on commit c9ee5da

Please sign in to comment.