Procházet zdrojové kódy

simplifies assignment

Diego Alvarez před 6 roky
rodič
revize
58a83f229d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      admin_test.go

+ 1 - 1
admin_test.go

@@ -172,7 +172,7 @@ func TestClusterAdminListTopics(t *testing.T) {
 	if found {
 		t.Fatal(errors.New("default topic config entry incorrectly found in response"))
 	}
-	value, _ := topic.ConfigEntries["retention.ms"]
+	value := topic.ConfigEntries["retention.ms"]
 	if value == nil || *value != "5000" {
 		t.Fatal(errors.New("non-default topic config entry not found in response"))
 	}