Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro committed Nov 11, 2024
1 parent a4070c5 commit 334cc6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration/nwo/fabric/network/network_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -1545,8 +1545,8 @@ func (n *Network) GenerateOrdererConfig(o *topology.Orderer) {
}).Parse(n.Templates.OrdererTemplate())
Expect(err).NotTo(HaveOccurred())

// pw := gexec.NewPrefixedWriter(fmt.Sprintf("[%s#orderer.yaml] ", o.ID()), ginkgo.GinkgoWriter)
err = t.Execute(io.MultiWriter(orderer), n)
pw := gexec.NewPrefixedWriter(fmt.Sprintf("[%s#orderer.yaml] ", o.ID()), ginkgo.GinkgoWriter)
err = t.Execute(io.MultiWriter(orderer, pw), n)
Expect(err).NotTo(HaveOccurred())
}

Expand Down
2 changes: 1 addition & 1 deletion integration/nwo/fabric/topology/core_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ fabric:
ordering:
numRetries: 3
retryInterval: 3s
tlsEnabled: true
tlsEnabled: {{ TLSEnabled }}
peers: {{ range Peers }}
- address: {{ PeerAddress . "Listen" }}
connectionTimeout: 10s
Expand Down
2 changes: 1 addition & 1 deletion platform/fabric/core/generic/committer/committer.go
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ func (c *Committer) applyBundle(bundle *channelconfig.Bundle) error {
}
tlsClientSideAuth, isSet := c.ConfigService.OrderingTLSClientAuthRequired()
if !isSet {
tlsEnabled = c.ConfigService.TLSClientAuthRequired()
tlsClientSideAuth = c.ConfigService.TLSClientAuthRequired()
}
connectionTimeout := c.ConfigService.ClientConnTimeout()

Expand Down

0 comments on commit 334cc6d

Please sign in to comment.