Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logger: Fix nanosecond timestamp test
`TestNewSystemLogHook()` checks to ensure a nanonsecond timestamp is generated. However, the `time.RFC3339Nano` time format truncates trailing zeros meaning a nanosecond timestamp won't always have nine digits. Fixes clearcontainers#1017. Signed-off-by: James O. D. Hunt <[email protected]>
- Loading branch information