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

fix(config-loader): do not set arguments if nil #38

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

portellaa
Copy link
Contributor

When setting the arguments for the task using an optional value, in this case nil, it was raising a bad access exception from the Task.

To avoid this i added a validation to the arguments settings those only when there is a non nil value.

When setting the arguments for the task using an optional value, in
this case nil, it was raising a bad access exception from the Task.

To avoid this i added a validation to the arguments settings those only
when there is a non nil value.
@iabudiab
Copy link
Member

iabudiab commented Feb 1, 2024

Yes, good catch. I'll merge and take care of the Linux build later 😉 Thanks!

@iabudiab iabudiab merged commit 9d040ab into swiftkube:main Feb 1, 2024
3 of 4 checks passed
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