Skip to content

Commit ca918ce

Browse files
authored
Fix EndToEndTopicConfig validation error (#308)
1 parent c640feb commit ca918ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/config_topic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (c *EndToEndTopicConfig) Validate() error {
2828
}
2929

3030
if c.PartitionsPerBroker < 1 {
31-
return fmt.Errorf("failed to parse partitionsPerBroker, it should be more than 1, retrieved value %v", c.ReplicationFactor)
31+
return fmt.Errorf("failed to parse partitionsPerBroker, it should be more than 1, retrieved value %v", c.PartitionsPerBroker)
3232
}
3333

3434
// If the timeduration is 0s or 0ms or its variation of zero, it will be parsed as 0

0 commit comments

Comments
 (0)