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

Remove global variables from job #740

Merged
merged 5 commits into from
Dec 2, 2024

Conversation

ygalblum
Copy link
Contributor

Type of change

  • Refactor
  • Optimization

Description

Global variables are in general a cause for issues; they can be set unexpectedly (or not set at all), they can be misused, etc. Instead, local variables, method parameters and instance fields should be used.

@ygalblum
Copy link
Contributor Author

@rsevilla87 I didn't squash the commits to make it easier to review how each variable is removed

@rsevilla87
Copy link
Member

@rsevilla87 I didn't squash the commits to make it easier to review how each variable is removed

seems lt needs some rebase after the latest commits

@ygalblum
Copy link
Contributor Author

@rsevilla87 I didn't squash the commits to make it easier to review how each variable is removed

seems lt needs some rebase after the latest commits

Done

@rsevilla87 rsevilla87 self-requested a review December 2, 2024 15:53
Copy link
Member

@rsevilla87 rsevilla87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rsevilla87 rsevilla87 merged commit d3364f0 into kube-burner:main Dec 2, 2024
7 checks passed
@ygalblum ygalblum deleted the remove-global-vars branch December 2, 2024 20:43
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