Browse Source

functional-tester/tester: fix cluster_test

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
d45c3f172b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/functional-tester/tester/cluster_test.go

+ 2 - 2
tools/functional-tester/tester/cluster_test.go

@@ -156,13 +156,13 @@ func Test_newCluster(t *testing.T) {
 	if err != nil {
 		t.Fatal(err)
 	}
-	cfg.logger = nil
+	cfg.lg = nil
 
 	if !reflect.DeepEqual(exp, cfg) {
 		t.Fatalf("expected %+v, got %+v", exp, cfg)
 	}
 
-	cfg.logger = logger
+	cfg.lg = logger
 
 	cfg.updateFailures()
 	fs1 := cfg.failureStrings()