Skip to content

Commit

Permalink
[FAB-9510] Mismatch of yaml label
Browse files Browse the repository at this point in the history
When generating yaml file using localconfig the
MaxMessageSize label is used instead of MaxMessageCount.
This fixes the issue.

Change-Id: I40ff56be2e777df83a2cd955c056ab6a9b573b02
Signed-off-by: Latitia M Haskins <[email protected]>
  • Loading branch information
lhaskins committed Apr 13, 2018
1 parent a8ae1e2 commit cf9859d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/tools/configtxgen/localconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ type Orderer struct {

// BatchSize contains configuration affecting the size of batches.
type BatchSize struct {
MaxMessageCount uint32 `yaml:"MaxMessageSize"`
MaxMessageCount uint32 `yaml:"MaxMessageCount"`
AbsoluteMaxBytes uint32 `yaml:"AbsoluteMaxBytes"`
PreferredMaxBytes uint32 `yaml:"PreferredMaxBytes"`
}
Expand Down

0 comments on commit cf9859d

Please sign in to comment.