Skip to content

Commit

Permalink
Merge pull request #1535 from slaunay/bugfix/refresh-metadata-print
Browse files Browse the repository at this point in the history
Fix client.tryRefreshMetadata Println
  • Loading branch information
bai authored Nov 7, 2019
2 parents ff5d4ff + 57d3a21 commit 9ad3f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ func (client *client) tryRefreshMetadata(topics []string, attemptsRemaining int,
}

if broker != nil {
Logger.Println("client/metadata not fetching metadata from broker %s as we would go past the metadata timeout\n", broker.addr)
Logger.Printf("client/metadata not fetching metadata from broker %s as we would go past the metadata timeout\n", broker.addr)
return retry(ErrOutOfBrokers)
}

Expand Down

0 comments on commit 9ad3f01

Please sign in to comment.