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

@@ -47,7 +47,7 @@ func TestPipelineOutput(t *testing.T) {
},
}
pipelines := []woodpecker.Pipeline{
pipelines := []*woodpecker.Pipeline{
{
Number: 1,
Status: "success",