#6768 refactor: omit unnecessary reassignment
Pull request opened by
rifeplight
## Tracking issue
## Why are the changes needed?
The new version of Go has been optimized, and variables do not need to be reassigned.
For more info:
https://tip.golang.org/wiki/LoopvarExperiment#does-this-mean-i-dont-have-to-write-x--x-in-my-loops-anymore
## 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 refactors the code to eliminate unnecessary variable reassignments across several files, which may introduce risks related to code maintainability.
• The changes enhance code readability and maintainability by leveraging optimizations in the latest version of Go.
• The modifications primarily affect test files and utility functions, ensuring adherence to best practices without altering existing functionality.
• Overall, the changes touch on code structure and readability, introducing potential risks in maintainability.
flyteorg/flyte