Skip to content

Commit

Permalink
Merge pull request #1595 from Shopify/diego_fix-misleading-example
Browse files Browse the repository at this point in the history
fix misleading example for cluster admin
  • Loading branch information
d1egoaz authored Jan 31, 2020
2 parents b152be9 + 9895e8f commit de120da
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 de120da

Please sign in to comment.