-
Notifications
You must be signed in to change notification settings - Fork 99
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
Clean up consumer code #1084
Comments
Sorry, not sure which code you refer to, when linking to code its best to use permalinks then the links stay valid and shows your code even as the code changes. Will close for now. |
@ripienaar this code natscli/cli/consumer_command.go Line 1264 in d55fe64
|
indeed thats dead code, do you want to send a PR to fix? |
I fall on that issue during a modification I made in order to read a field "stream_name" from configuration file in order to create a consumer only from a json file cf (diorcety@78fc5a4) |
It's probably just old code from a previous edit left over by accident |
Proposed change
Code at line https://github.com/nats-io/natscli/blob/main/cli/consumer_command.go#L1006 is not reachable
At line 1003 c.consumer is always != "" due to conditon at line 1002.
What is the expected behaviour?
Use case
Fix or remove dead code
Contribution
No response
The text was updated successfully, but these errors were encountered: