Skip to content

Commit

Permalink
Merge branch '3.1.1_release' into 'master'
Browse files Browse the repository at this point in the history
v3.1.1

See merge request oceanbase/ob-deploy!275
  • Loading branch information
雪染 committed Jan 13, 2025
2 parents 8cac82e + 7b6b8d4 commit 4437f1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/ocp-server/4.2.1/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ def upgrade(plugin_context, search_py_script_plugin, apply_param_plugin, run_wor
if not run_workflow(start_workflows, repositories=[dest_repository], **{dest_repository.name: start_kwargs}):
return plugin_context.return_false()
upgrade_ctx = kwargs.get('upgrade_ctx')
upgrade_ctx['index'] += 1
if upgrade_ctx:
if upgrade_ctx.get('index'):
upgrade_ctx['index'] += 1
return plugin_context.return_true()

0 comments on commit 4437f1d

Please sign in to comment.