Closed ashald closed 5 years ago
It turns out that reference implementation uses local time rather than UTC - will do the same here.
@Ashald
I went through the PR, and felt It needed some code reorganization (and cleanup).
Also, go vendoring needed to be fixed since the current vendored version of go-plugin-helpers
doesn't have CreatedAt
as part of the Volume struct.
I have created a follow up PR here: https://github.com/projectatomic/docker-lvm-plugin/pull/68
PR for updating godeps is here: https://github.com/projectatomic/docker-lvm-plugin/pull/67
Can you review the PR once (#68)? If it looks good, we can close this PR and merge #68 instead.
@shishir-a412ed yeah, sure! I went through #68 and it seems to me work in the same way but just handles the change to lvdisplayGrep
in a little bit different way. I did not notice anything of concern with #68 and would be happy if that one was merged instead. Thanks!
The
Get
handler extracts volume creation date fromlvdisplay
output and uses it to setCreatedAt
field.Fixes #58.