mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-15 14:20:18 -07:00
fix: use strconv.ParseInt instead of strconv.Atoi
This commit is contained in:
parent
7186e5dd47
commit
efac11a3ef
@ -78,7 +78,7 @@ All configuration options are also available via environment variables.`,
|
||||
if len(v) <= 0 {
|
||||
return helpers.ErrChannel
|
||||
}
|
||||
k, errStr := strconv.Atoi(v)
|
||||
k, errStr := strconv.ParseInt(v, 10, 64)
|
||||
if errStr != nil {
|
||||
return errStr
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user