mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30160 from xulike666/fix-boring-typo
fix typo in api/types/time/timestamp.go
This commit is contained in:
commit
1847f855b3
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ func ParseTimestamps(value string, def int64) (int64, int64, error) {
|
|||
if err != nil {
|
||||
return s, n, err
|
||||
}
|
||||
// should already be in nanoseconds but just in case convert n to nanoseonds
|
||||
// should already be in nanoseconds but just in case convert n to nanoseconds
|
||||
n = int64(float64(n) * math.Pow(float64(10), float64(9-len(sa[1]))))
|
||||
return s, n, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue