1
0
mirror of https://codeberg.org/crowci/crow.git synced 2025-08-07 20:23:03 +03:00

Use pagination helper to list pipelines in cli (#4478)

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Robert Kaussow
2024-12-01 20:39:47 +01:00
committed by GitHub
parent 7189cd61bf
commit 3c31284e7b
8 changed files with 62 additions and 86 deletions

View File

@@ -74,5 +74,5 @@ func pipelineCreate(ctx context.Context, c *cli.Command) error {
return err
}
return pipelineOutput(c, []woodpecker.Pipeline{*pipeline})
return pipelineOutput(c, []*woodpecker.Pipeline{pipeline})
}