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

Exit code is 0 when failed to connect #33

Closed
ia64mail opened this issue Jun 10, 2020 · 2 comments
Closed

Exit code is 0 when failed to connect #33

ia64mail opened this issue Jun 10, 2020 · 2 comments
Assignees

Comments

@ia64mail
Copy link

Hello,

We use pbm client for container liveness check in the K8s deployment. Apparently, it always return exit code 0 even if couldn't connect to the host.

C:\>pbm 127.0.0.1:9110 cluster status
Failed to connect to 127.0.0.1:9110 within 00:00:05

C:\>echo %ERRORLEVEL%
0

pbm client version - 0.8.0
Microsoft Windows [Version 10.0.17763.1282]

@Aaronontheweb
Copy link
Member

This is definitely a bug - one of the members of our team is working on a fix for it now. Added to the v0.8.1 milestone.

@IgorFedchenko
Copy link

Fixed with PR attached

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

3 participants