Skip to content

Commit

Permalink
Don't block on empty roles, they're harmless.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdkent committed Nov 8, 2023
1 parent d9247cf commit c25e60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kamal/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def ensure_required_keys_present

roles.each do |role|
if role.hosts.empty?
raise ArgumentError, "No servers specified for the #{role.name} role"
puts "Warning: No servers specified for the #{role.name} role"
end
end

Expand Down

0 comments on commit c25e60d

Please sign in to comment.