Closed hardillb closed 3 months ago
I disagree. The logic should be: if !merge then overwrite everything. If merge, we skip if on the skip list.
Is the problem a layer up where this function is being called by the pipeline with a false
rather than a true` for the merge flag?
We need a unit test to verify the behaviour.
OK, I've moved it up and it does what's expected and doesn't fail any of the existing tests.
I'll try and write a suitable testcase
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.72%. Comparing base (
edf11c8
) to head (1b2228d
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@knolleary ready for another look
fixes #4058
Description
Looks like the logic got flipped during the changes to https://github.com/FlowFuse/flowfuse/pull/4016
Related Issue(s)
4058
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label