mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 22:03:59 +00:00
Use int64 for IDs in woodpecker client lib (#2703)
Switch from int to int64 for IDs
This commit is contained in:
committed by
GitHub
parent
c75068920c
commit
dbed835b6d
@@ -42,7 +42,7 @@ func logPurge(c *cli.Context) (err error) {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
number, err := strconv.Atoi(c.Args().Get(1))
|
||||
number, err := strconv.ParseInt(c.Args().Get(1), 10, 64)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user