-
Notifications
You must be signed in to change notification settings - Fork 208
Report StateStatus in all cases except piped process is terminated #1414
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
Conversation
pkg/app/piped/executor/stopsignal.go
Outdated
| func (s *stopSignal) Terminated() bool { | ||
| value := s.signal.Load() | ||
| return StopSignalType(value) != StopSignalNone | ||
| return StopSignalType(value) != StopSignalTerminate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
==
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks 🙏
|
Code coverage for golang is
|
|
/lgtm |
|
Nice catch! Thank you. |
|
Code coverage for golang is
|
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #1413
Does this PR introduce a user-facing change?: