vendor: upgrade coreos/bbolt to v1.3.1-coreos.3

And pin some other dependencies.

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyu-Ho Lee
2017-10-31 19:02:29 -07:00
parent 9e509eb77f
commit 67722fc3ff
3 changed files with 9 additions and 5 deletions

View File

@ -62,7 +62,7 @@ func flock(db *DB, mode os.FileMode, exclusive bool, timeout time.Duration) erro
if timeout != 0 {
t = time.Now()
}
fd := db.file.Fd()
fd := f.Fd()
var flag uint32 = flagLockFailImmediately
if exclusive {
flag |= flagLockExclusive