swiftkube / client

Swift client for Kubernetes
Apache License 2.0
129 stars 20 forks source link

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

Closed portellaa closed 9 months ago

portellaa commented 9 months ago

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 commented 9 months ago

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