daemon/graphdriver/vfs fix lint errors/warnings#15092
Conversation
daemon/graphdriver/vfs/driver.go
Outdated
There was a problem hiding this comment.
Although, something like this might sound better: Put is a noop for vfs, since this driver has no runtime resources to clean up.
3fcd73f to
05495b8
Compare
|
@brahmaroutu Sorry but needs a rebase! |
05495b8 to
ce7fff9
Compare
|
@tiborvass np, I rebased. Looks like validate-lint file may run into more conflicts as we merge anyways. |
There was a problem hiding this comment.
Driver implements graphdriver.ProtoDriver.
It uses only basic vfs operations.
In order to support layering, files are copied from the parent layer into the new layer. There is no copy-on-write support.
Driver must be wrapped in NaiveDiffDriver to be used as a graphdriver.Driver
ce7fff9 to
a0766cd
Compare
|
@cpuguy83 I have update the comments as suggested. Please review. |
|
Seems good once CI passes, no outstanding lints or obvious comment errors other than @cpuguy83 's notes |
|
LGTM |
Addresses moby#14756 Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
a0766cd to
3e7f9c6
Compare
|
LGTM |
daemon/graphdriver/vfs fix lint errors/warnings
Addresses #14756
Signed-off-by: Srini Brahmaroutu srbrahma@us.ibm.com