-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fixed static fields initialization in WorkflowStepFactory #532
Fixed static fields initialization in WorkflowStepFactory #532
Conversation
4d2bbaa
to
1104881
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #532 +/- ##
=========================================
Coverage 72.00% 72.00%
- Complexity 609 612 +3
=========================================
Files 78 78
Lines 3222 3201 -21
Branches 247 246 -1
=========================================
- Hits 2320 2305 -15
+ Misses 789 783 -6
Partials 113 113 ☔ View full report in Codecov by Sentry. |
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.
Code changes LGTM. Change log may need tweaking.
Signed-off-by: Owais Kazi <[email protected]>
1104881
to
fc36eb8
Compare
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.
LGTM, thanks for fixing this
Fixed static fields initialization Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 24bf51a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ory (#533) Fixed static fields initialization in WorkflowStepFactory (#532) Fixed static fields initialization (cherry picked from commit 24bf51a) Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Fixed static fields initialization. Pulling the
Supplier<WorkflowStep>
inside the enum over complicates the initialization of the static fields. Reverting the stepMap initialization inside theWorkflowStepFactory
constructor.Also, removed the unused
clusterService
andclient
passed.Issues Resolved
Fixes #531
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.