Developing lightweight computation at the DSG edge

Commit 14fbe20e authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Don't check for error after ListMapKeys()

ListMapKeys() does not return any error, so the one from the previous
ReadMap() was being reevaluated.
Signed-off-by: Roger Pueyo Centelles's avatarRoger Pueyo Centelles <>
parent d407a874
...@@ -415,9 +415,6 @@ func TestMapListMapKeys(t *testing.T) { ...@@ -415,9 +415,6 @@ func TestMapListMapKeys(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
keyList := mapV.ListMapKeys() keyList := mapV.ListMapKeys()
if err != nil {
for _, expected := range []MapEntryKey{ for _, expected := range []MapEntryKey{
{[]byte("counter"), CRDTType_COUNTER}, {[]byte("counter"), CRDTType_COUNTER},
{[]byte("reg"), CRDTType_LWWREG}, {[]byte("reg"), CRDTType_LWWREG},
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