浏览代码

simplifies assignment

Diego Alvarez 6 年之前
父节点
当前提交
58a83f229d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"))
 	}