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

Add invalid variable service type for environments and pipelines #38

Conversation

tobias-richter
Copy link
Contributor

@tobias-richter tobias-richter commented Oct 14, 2024

This PR enhances the resilience of #37 and ensure that

  • existing pipeline or environment variables with invalid service types to not lead to a rust exception
  • no invalid service types can be set anymore

@BerSomBen
Copy link
Collaborator

Hi @tobias-richter,

thanks for this fix. I moved the check for an invalid service value outside the for loops and added some output, if there is an invalid value on the CM already.

Copy link
Collaborator

@BerSomBen BerSomBen left a comment

Choose a reason for hiding this comment

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

the changes do what I expected, I improved the check a lil bit and added some output, if there is an invalid entry on the CM.
Please have a look and feel free to merge @tobias-richter

@tobias-richter tobias-richter merged commit c62bf75 into feature/use-service-property-in-env-vars-patching Oct 15, 2024
@tobias-richter tobias-richter deleted the feature/use-service-property-in-env-vars-patching-resilience branch October 15, 2024 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants