Skip to content

Commit

Permalink
fix misleading example for cluster admin
Browse files Browse the repository at this point in the history
fixes #1238
  • Loading branch information
d1egoaz committed Jan 31, 2020
1 parent b152be9 commit 9895e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,8 @@ func TestClusterAdminAlterConfig(t *testing.T) {

var value string
entries := make(map[string]*string)
value = "3"
entries["ReplicationFactor"] = &value
value = "60000"
entries["retention.ms"] = &value
err = admin.AlterConfig(TopicResource, "my_topic", entries, false)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 9895e8f

Please sign in to comment.