hyperledger / bevel-operator-fabric

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

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

Closed Wojciechowski-Marcin closed 1 year ago

Wojciechowski-Marcin commented 1 year 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 1 year ago

Hi @Wojciechowski-Marcin Thanks for the PR!

Can you please solve the conflicts to merge?

adityajoshi12 commented 1 year ago

Can you please remove the merge commit?

Wojciechowski-Marcin commented 1 year ago

Yes, it should be okay now!