Unnecessary parenthesis
This commit is contained in:
@@ -214,7 +214,7 @@ class Kamal::Configuration::Accessory
|
|||||||
|
|
||||||
def extract_hosts_from_config_with_tag(tag)
|
def extract_hosts_from_config_with_tag(tag)
|
||||||
if config.raw_config.servers.is_a?(Hash)
|
if config.raw_config.servers.is_a?(Hash)
|
||||||
config.raw_config.servers.flat_map do |(role, servers_in_role)|
|
config.raw_config.servers.flat_map do |role, servers_in_role|
|
||||||
servers_in_role.collect do |host|
|
servers_in_role.collect do |host|
|
||||||
if host.is_a?(Hash) && host.values.first.include?(tag)
|
if host.is_a?(Hash) && host.values.first.include?(tag)
|
||||||
host.keys.first
|
host.keys.first
|
||||||
|
|||||||
Reference in New Issue
Block a user