Skip to content

Commit 5ad000a

Browse files
author
David Heinemeier Hansson
committed
Unnecessary parenthesis
1 parent 1ca2b4d commit 5ad000a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/kamal/configuration/accessory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def hosts_from_tags
214214

215215
def extract_hosts_from_config_with_tag(tag)
216216
if config.raw_config.servers.is_a?(Hash)
217-
config.raw_config.servers.flat_map do |(role, servers_in_role)|
217+
config.raw_config.servers.flat_map do |role, servers_in_role|
218218
servers_in_role.collect do |host|
219219
if host.is_a?(Hash) && host.values.first.include?(tag)
220220
host.keys.first

0 commit comments

Comments
 (0)