github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/argoproj.io/Rollout/actions/skip-current-step/action.lua (about)

     1  if obj.status ~= nil then
     2      if obj.spec.strategy.canary ~= nil and obj.spec.strategy.canary.steps ~= nil and obj.status.currentStepIndex < table.getn(obj.spec.strategy.canary.steps) then
     3          if obj.status.pauseConditions ~= nil and table.getn(obj.status.pauseConditions) > 0 then
     4              obj.status.pauseConditions = nil
     5          end
     6          obj.status.currentStepIndex = obj.status.currentStepIndex + 1
     7      end
     8  end
     9  return obj