Skip to content

Commit

Permalink
fix: Reinstated flushes in coordinateOrg, turns out they were necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Nov 28, 2024
1 parent 38aa0c7 commit 1ad22a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class DependentModuleProxyService {
name: result.name,
orgsUuid: result.id,
sourceURI: "/vendor/${result.id}"
).save( failOnError:true )
).save( flush: true, failOnError:true )
break

case 0:
Expand All @@ -73,7 +73,7 @@ public class DependentModuleProxyService {

// Create a new local one.
log.debug "No vendor found. Adding local org for ${orgName}"
org = (new Org(name:orgName)).save( failOnError:true )
org = (new Org(name:orgName)).save( flush: true, failOnError:true )
break

default:
Expand Down

0 comments on commit 1ad22a3

Please sign in to comment.