Skip to content

Commit 0e0de5c

Browse files
author
Luis Sanchez
committed
[FAB-1696] Fix typo s/absolute/preferred/ in message
Change-Id: I2a6331d35cab0efa143f8e1b19fe51e09c73fdc6 Signed-off-by: Luis Sanchez <[email protected]>
1 parent 1642e88 commit 0e0de5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orderer/common/sharedconfig/sharedconfig.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func (pm *ManagerImpl) ProposeConfig(configItem *cb.ConfigurationItem) error {
201201
return fmt.Errorf("Attempted to set the batch size absolute max bytes to an invalid value: 0")
202202
}
203203
if batchSize.PreferredMaxBytes == 0 {
204-
return fmt.Errorf("Attempted to set the batch size absolute max bytes to an invalid value: 0")
204+
return fmt.Errorf("Attempted to set the batch size preferred max bytes to an invalid value: 0")
205205
}
206206
if batchSize.PreferredMaxBytes > batchSize.AbsoluteMaxBytes {
207207
return fmt.Errorf("Attempted to set the batch size preferred max bytes (%v) greater than the absolute max bytes (%v).", batchSize.PreferredMaxBytes, batchSize.AbsoluteMaxBytes)

0 commit comments

Comments
 (0)