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

Added print-request and dry-run support for subscribe #482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rao-aneesh
Copy link
Contributor

Added print-request and dry-run support for subscribe

Comment on lines +227 to +229
if a.Config.LocalFlags.SubscribeDryRun {
os.Exit(0)
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the case the subscribe command is running against multiple targets, the os.Exit(0) will stop the process before all the subscribe requests are printed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After the return statement, the program is left waiting for something. I was not able to figure out where it waits. Can you help me out here?

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

Successfully merging this pull request may close these issues.

2 participants