Project

General

Profile

« Previous | Next » 

Revision d7c67746

Added by Michael Moll almost 6 years ago

Fixes #19873 - Fix Style/MultilineIfModifier cop (#5705)

  • Refs #20891 - fix for new rubocop rules
  • Fixes #19873 - Fix Style/MultilineIfModifier cop

View differences:

app/models/compute_resources/foreman/model/openstack.rb
:openstack_user_domain => domain,
:openstack_endpoint_type => "publicURL"
}.tap do |h|
h.merge!(:openstack_domain_name => domain,
:openstack_project_name => tenant) if tenant
if tenant
h.merge!(:openstack_domain_name => domain,
:openstack_project_name => tenant)
end
end
end

Also available in: Unified diff