Skip to content

Conversation

@aldato
Copy link

@aldato aldato commented Mar 6, 2025

Trying to use spec.event_stream.topology_spread_constraints in the EDA object results in the following error in the logs of the EDA operator:

FAILED! => {\r\n    \"msg\": \"An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'AttributeError'>, original message: 'list' object has no attribute 'splitlines'\"\

This is because the indent filter expects a string and the CRD establishes that spec.event_stream.topology_spread_constraints to be an array of objects. Adding to_nice_yaml solves the problem.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2025

@aldato aldato requested a review from zkayyali812 March 7, 2025 15:26
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.

3 participants