Use int64 for IDs in woodpecker client lib (#2703)

Switch from int to int64 for IDs
This commit is contained in:
runephilosof-karnovgroup
2023-11-02 12:21:11 +01:00
committed by GitHub
parent c75068920c
commit dbed835b6d
13 changed files with 36 additions and 35 deletions

View File

@@ -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
}