Skip to content

Commit

Permalink
Use internal orderers in channelcrd mainchannel create
Browse files Browse the repository at this point in the history
  • Loading branch information
dviejokfs committed Jan 3, 2024
1 parent 62fac2a commit 6b6161f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kubectl-hlf/cmd/channelcrd/mainchannel/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@ func (o Options) mapToFabricMainChannel() (*v1alpha1.FabricMainChannelSpec, erro
tlsCACert := node.Status.TlsCACert
signCACert := node.Status.SignCACert
ordererNodes := []v1alpha1.FabricMainChannelExternalOrdererNode{}
for _, ordererNode := range nodes {
adminOrdererHost := ordererNode.Name
adminOrdererPort := 7053
ordererNodes = append(ordererNodes, v1alpha1.FabricMainChannelExternalOrdererNode{
Host: adminOrdererHost,
AdminPort: adminOrdererPort,
})
}
channelOrdererNodes := []v1alpha1.FabricMainChannelOrdererNode{}
for _, ordererNode := range nodes {
namespace := ordererNode.Item.Namespace
Expand Down

0 comments on commit 6b6161f

Please sign in to comment.