Skip to content

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