Skip to content

Commit

Permalink
Updates for Rubocop happiness
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydwatkin committed Jul 4, 2024
1 parent e3c52f9 commit 86bfad3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/capistrano/asg/tasks/rolling.rake
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ namespace :rolling do
end
else
logger.error 'No instances have been launched. Are you using a configuration with rolling deployments?'
raise RuntimeError, 'Auto Scaling Group update failed'
raise 'Auto Scaling Group update failed'
end
end

Expand All @@ -139,7 +139,7 @@ namespace :rolling do
end
else
logger.error 'No instances have been launched. Are you using a configuration with rolling deployments?'
raise RuntimeError, 'Auto Scaling Group update failed'
raise 'Auto Scaling Group update failed'
end

invoke 'deploy'
Expand Down Expand Up @@ -206,7 +206,7 @@ namespace :rolling do
logger.info "Auto Scaling Group: **#{name}**, completed with status '#{refresh.status}'."
end
end
raise RuntimeError, 'Auto Scaling Group update failed' if failed
raise 'Auto Scaling Group update failed' if failed
end
end
end

0 comments on commit 86bfad3

Please sign in to comment.