Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create channel using hlf channel generate command #222

Open
OptimusPrimo11 opened this issue Jul 10, 2024 · 0 comments
Open

Cannot create channel using hlf channel generate command #222

OptimusPrimo11 opened this issue Jul 10, 2024 · 0 comments

Comments

@OptimusPrimo11
Copy link

What happened?

I try to create a channel with the hlf channel generate --outpu flag but it seems that an error of : unknown flag: --output appear. Then by switching the order of the flags to --name first, still it shows error : unknown flag: --name.

Next, I run the kubectl hlf channel --help
Output : Usage:
hlf channel [command]

Available Commands:
inspect
top
update

Flags:
-h, --help help for channel

So, not "generate" exist.

What am I missing here? Please help.

What did you expect to happen?

A channel file with the filename specified in the --output flag which contains the 2 OrgMSP & 1 OrdererMSP in the channel name given in the --name flag.

How can we reproduce it (as minimally and precisely as possible)?

kubectl hlf channel generate --output=testchannel.block --name=testchannel --organizations Org1MSP --organizations Org2MSP --ordererOrganizations OrdererMSP

Anything else we need to know?

No response

Kubernetes version

# kubectl get nodes -o wide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant