fix an inconsistency
This commit is contained in:
parent
20007f7355
commit
950ed9afbe
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ MapStorageBackend[Array[Byte], Array[Byte]] with
|
|||
val objs = riakClient.fetch(bucket, key, quorum)
|
||||
objs.size match {
|
||||
case 0 => null;
|
||||
case _ => objs.last.getValue.isEmpty match {
|
||||
case _ => objs(0).getValue.isEmpty match {
|
||||
case true => null
|
||||
case false => objs(0).getValue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue