Commit cf903d26 authored by Romain Courteaud's avatar Romain Courteaud

slapos_pdm: do not put newly create decision in started

Ask review from manager
parent 15ead388
......@@ -16,7 +16,7 @@ with upgrade_decision.defaultActivateParameterDict(activate_kw):
upgrade_decision.setStartDate(DateTime())
if upgrade_decision.getSimulationState() == "planned":
upgrade_decision.start()
upgrade_decision.confirm()
# Prevent concurrent transaction to create 2 upgrade decision for the same instance_tree
instance_tree.serialize()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment