Commit 82359189 authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_upgrader: do not run activeSense for post-upgrade step

parent 45dbdad2
...@@ -37,14 +37,15 @@ if fixit: ...@@ -37,14 +37,15 @@ if fixit:
after_tag=upgrade_tag, after_tag=upgrade_tag,
).activeSense(fixit=fixit, params={'tag': post_upgrade_tag}) ).activeSense(fixit=fixit, params={'tag': post_upgrade_tag})
else: else:
summary = "Post-upgrade constraints are not run as their results may differ after " detail = "Post-upgrade constraints are not run as their results may differ after "
summary += "upgrader's alarm is solved. To dry-run post-upgrade alarm, please run the pre-ugprade " detail += "upgrader's alarm is solved. To dry-run post-upgrade alarm, please run the pre-ugprade "
summary += "and upgrade steps for real, then run post-upgrade \"Active Sense\" action." detail += "and upgrade steps for real, then run post-upgrade \"Active Sense\" action."
active_process.postActiveResult( active_process.postActiveResult(
severity=1, severity=0,
summary=summary, summary='Post-upgrade constraints were not run',
detail=[m.message for m in constraint_message_list]) detail=[detail,],
)
# start another activity to collect the results from each upgrader step # start another activity to collect the results from each upgrader step
......
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