Commit Graph

2 Commits

Author SHA1 Message Date
Zac Medico c7ba5749d4
Add lock sanity checks to Save() methods
I have experienced "layer not known" corruption triggered by concurrent
buildah/skopeo processes, and hopefully lock sanity checks will help to
prevent this kind of problem.

Signed-off-by: Zac Medico <zmedico@gmail.com>
2018-08-24 20:31:47 -07:00
Vincent Batts 6217167281
lockfile: reshape for multiplatform
this stubs out for having platform-independent file locking

This still functions the same on `GOOS=linux`, and now succeeds for
`GOOS=windows`. But still fails on `freebsd`, `darwin`, `solaris`, etc

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-01-30 05:00:58 -05:00