Skip to content

Commit

Permalink
Merge pull request #65 from cloudblue/feature/LITE-28079-Create-New-D…
Browse files Browse the repository at this point in the history
…eployment-Requests

LITE-28079: Changing commit for flush on adding new request
  • Loading branch information
d3rky authored Aug 1, 2023
2 parents f8c4def + 407b6e7 commit 4f7a743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect_ext_ppr/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def add_new_deployment_request(db, dr_data, deployment, account_id, logger):
created_by=account_id,
)
db.set_next_verbose(deployment_request, 'deployment_id')
db.commit()
db.flush()
db.refresh(deployment_request)

marketplaces = [m.id for m in dr_data.marketplaces.choices]
Expand Down

0 comments on commit 4f7a743

Please sign in to comment.