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

Update wait-for-it.sh #130

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

Conversation

archit15singh
Copy link

Refactor TCP host/port availability script

  • Enhanced variable naming for better readability
  • Simplified and improved argument parsing logic
  • Improved error handling, especially around timeout logic
  • Refactored functions for simplicity and maintainability
  • Consistently used nc -z for port checking
  • Enhanced signal handling for better script termination
  • Updated usage instructions for clarity

These changes make the script more readable, maintainable, and robust.

Refactor TCP host/port availability script

- Enhanced variable naming for better readability
- Simplified and improved argument parsing logic
- Improved error handling, especially around timeout logic
- Refactored functions for simplicity and maintainability
- Consistently used `nc -z` for port checking
- Enhanced signal handling for better script termination
- Updated usage instructions for clarity

These changes make the script more readable, maintainable, and robust.
@syntaxsdev
Copy link

@archit15singh looks good.

@syntaxsdev
Copy link

@vishnubob ?

@archit15singh
Copy link
Author

@vishnubob LGTM?

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