Skip to content

Commit

Permalink
Happy rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed May 2, 2016
1 parent d9d50a9 commit e21b89e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/clients/save_network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def copy_from_instsys
def configure_dns
ret = false
ret = NetworkAutoYast.instance.configure_dns if Mode.autoinst
ret = NetworkAutoconfiguration.instance.configure_dns if !ret
NetworkAutoconfiguration.instance.configure_dns if !ret

DNS.create_hostname_link
end
Expand Down
4 changes: 2 additions & 2 deletions src/lib/network/network_autoyast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def set_network_service
#
# FIXME: it currently don't write DNS configuration. It is used for initialization
# of DNS setup according AY profile in 1st stage as part of network setup was moved
# here already and some parts of network configuration needs to know it. DNS write
# here already and some parts of network configuration needs to know it. DNS write
# is still done in 2nd stage.
def configure_dns
ay_dns_config = ay_networking_section["dns"]
Expand All @@ -138,7 +138,7 @@ def configure_dns
log.info("dhcp hostname: #{DNS.dhcp_hostname}")
log.info("write hostname: #{DNS.write_hostname}")

return true
true
end

# Checks if the profile asks for keeping installation network configuration
Expand Down

0 comments on commit e21b89e

Please sign in to comment.