Browse Source

integration: fix govet error in Go tip

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
a696343a0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration/metrics_test.go

+ 1 - 1
integration/metrics_test.go

@@ -91,7 +91,7 @@ func TestMetricDbSizeDefrag(t *testing.T) {
 	}
 	}
 
 
 	// Put to move PendingPages to FreePages
 	// Put to move PendingPages to FreePages
-	if _, err := kvc.Put(context.TODO(), putreq); err != nil {
+	if _, err = kvc.Put(context.TODO(), putreq); err != nil {
 		t.Fatal(err)
 		t.Fatal(err)
 	}
 	}
 	time.Sleep(500 * time.Millisecond)
 	time.Sleep(500 * time.Millisecond)