hyperledger-bevel / bevel-operator-fabric

Hyperledger Fabric Kubernetes operator - Hyperledger Fabric operator for Kubernetes (v2.3, v2.4 and v2.5, soon 3.0)
https://hyperledger-bevel.github.io/bevel-operator-fabric/
Apache License 2.0
278 stars 93 forks source link

Fix kubectl-hlf inspect command when empty peer array #123

Closed Wojciechowski-Marcin closed 2 years ago

Wojciechowski-Marcin commented 2 years ago

Found this bug while playing around with the operator, if organization has no peers it results in an error:

network configuration load failed: failed to parse 'peers' config item to endpointConfigurationEntity.Peers type: '' expected a map, got 'slice'

dviejokfs commented 2 years ago

Hi @Wojciechowski-Marcin Thanks for the PR!

Can you please solve the conflicts to merge?

adityajoshi12 commented 2 years ago

Can you please remove the merge commit?

Wojciechowski-Marcin commented 2 years ago

Yes, it should be okay now!