Skip to content

Commit

Permalink
hckclient: Remove redundant variables
Browse files Browse the repository at this point in the history
Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
  • Loading branch information
kostyanf14 authored and YanVugenfirer committed Oct 24, 2021
1 parent 427df04 commit bde02ea
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/setupmanagers/hckclient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,12 @@ def install_drivers
@project.engine.drivers&.each do |driver|
method = driver['install_method']
inf = driver['inf']
custom_cmd = driver['install_command']
sys = driver['sys']
install_cert = driver['install_cert']

@logger.info("Installing #{method} driver #{inf} in #{@name}")
@tools.install_machine_driver_package(@name, path, method, inf,
custom_cmd: custom_cmd,
sys_file: sys,
force_install_cert: install_cert)
custom_cmd: driver['install_command'],
sys_file: driver['sys'],
force_install_cert: driver['install_cert'])
end
end

Expand Down

0 comments on commit bde02ea

Please sign in to comment.