mirror of
https://github.com/containers/podman.git
synced 2025-09-25 15:55:32 +08:00
Enable stylecheck linter
Use the stylecheck linter and fix the reported problems. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
@ -530,9 +530,9 @@ func ParseInputTime(inputTime string) (time.Time, error) {
|
||||
}
|
||||
}
|
||||
|
||||
unix_timestamp, err := strconv.ParseInt(inputTime, 10, 64)
|
||||
unixTimestamp, err := strconv.ParseInt(inputTime, 10, 64)
|
||||
if err == nil {
|
||||
return time.Unix(unix_timestamp, 0), nil
|
||||
return time.Unix(unixTimestamp, 0), nil
|
||||
}
|
||||
|
||||
// input might be a duration
|
||||
|
Reference in New Issue
Block a user