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 petethegreat committed Mar 29, 2024
1 parent 20b9616 commit f8111b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/apiserver/server/pipeline_server.go
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 f8111b3

Please sign in to comment.