1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-23 01:11:57 +01:00

Removed pointer when passing ListOptions parameter

This commit is contained in:
Raffaele Di Fazio 2018-11-18 12:28:57 +01:00
parent 092fbbe898
commit 534651760a
No known key found for this signature in database
GPG Key ID: 58D6875FAB8FF740

@ -57,7 +57,7 @@ func buildList(c *cli.Context) error {
return err
}
builds, err := client.BuildList(owner, name, &drone.ListOptions{Page: c.Int("page")})
builds, err := client.BuildList(owner, name, drone.ListOptions{Page: c.Int("page")})
if err != nil {
return err
}