Browse Source

simplifies assignment

Diego Alvarez 5 years ago
parent
commit
58a83f229d
1 changed files with 1 additions and 1 deletions
  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"))
 	}