Explorar o código

Merge pull request #9273 from gyuho/aaa

integration: fix govet error in Go tip
Xiang Li %!s(int64=8) %!d(string=hai) anos
pai
achega
50d91036a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
-	if _, err := kvc.Put(context.TODO(), putreq); err != nil {
+	if _, err = kvc.Put(context.TODO(), putreq); err != nil {
 		t.Fatal(err)
 	}
 	time.Sleep(500 * time.Millisecond)