Commit 1464bf31 authored by rht's avatar rht

Wire flatfs sync argument into Datastore creation

parent 38b98ce0
......@@ -49,6 +49,7 @@ func New(path string, prefixLen int, sync bool) (*Datastore, error) {
path: path,
// convert from binary bytes to bytes of hex encoding
hexPrefixLen: prefixLen * hex.EncodedLen(1),
sync: sync,
}
return fs, nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment