Skip to content

Commit

Permalink
fix(backend): get pipeline by name is broken due to version typo, Fixes
Browse files Browse the repository at this point in the history
kubeflow#9940 (kubeflow#10268)

function getPipelineByName have a version typo:
V1beta1 -> v1beta1
  • Loading branch information
cybernagle authored and stijntratsaertit committed Feb 16, 2024
1 parent e1700ed commit 296516a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/apiserver/server/pipeline_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func (s *PipelineServer) getPipelineByName(ctx context.Context, name string, nam
switch apiRequestVersion {
case "v1beta1":
return s.resourceManager.GetPipelineByNameAndNamespaceV1(name, namespace)
case "V2beta1":
case "v2beta1":
p, err := s.resourceManager.GetPipelineByNameAndNamespace(name, namespace)
return p, nil, err
default:
Expand Down

0 comments on commit 296516a

Please sign in to comment.