#6629 Update executor.go
Pull request opened by
hefeiyun
more clear code.
## Tracking issue
## Why are the changes needed?
## What changes were proposed in this pull request?
## How was this patch tested?
### Labels
Please add one or more of the following labels to categorize your PR:
•
added: For new features.
•
changed: For changes in existing functionality.
•
deprecated: For soon-to-be-removed features.
•
removed: For features being removed.
•
fixed: For any bug fixed.
•
security: In case of vulnerabilities
This is important to improve the readability of release notes.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request updates the eligibility logic in executor.go to enhance clarity and functionality. It refines the determination of maximum attempts for system failures, ensuring a more accurate eligibility check. These changes aim to improve code maintainability.
flyteorg/flyte