Skip to content

Commit

Permalink
Fix missing task state
Browse files Browse the repository at this point in the history
The task doesn't really have a resource which can be used to lock.
  • Loading branch information
sbernhard committed Dec 18, 2023
1 parent b6d17e1 commit a0b479c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/lib/actions/foreman_acd/deploy_all_hosts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ module ForemanAcd
# DeployAllHosts implements a Foreman Task EntryAction
class DeployAllHosts < Actions::EntryAction
def plan(app_instance, safe_deploy)
action_subject(app_instance, :safe_deploy => safe_deploy)
plan_self(:id => app_instance.id)
plan_self(:id => app_instance.id, :safe_deploy => safe_deploy)
end

def run
Expand Down

0 comments on commit a0b479c

Please sign in to comment.