Skip to content

Commit

Permalink
fix pipeline list-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chensun committed Apr 12, 2023
1 parent 7f32ec2 commit 09dde71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/kfp/cli/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def list_versions(ctx: click.Context, pipeline_id: str, page_token: str,
sort_by=sort_by,
filter=filter)
output.print_output(
response.versions or [],
output.ModelType.PIPELINE,
response.pipeline_versions or [],
output.ModelType.PIPELINE_VERSION,
output_format,
)

Expand Down

0 comments on commit 09dde71

Please sign in to comment.