소스 검색

Merge pull request #9273 from gyuho/aaa

integration: fix govet error in Go tip
Xiang Li 8 년 전
부모
커밋
50d91036a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)