Skip to content

Commit

Permalink
B #3189: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dann1 committed Oct 1, 2019
1 parent 1bb4146 commit 1f53dbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vmm_mad/exec/one_vmm_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def execute_steps(steps)
result, info = vnm.do_action(@id, step[:action],
:parameters => params)
when :tm
result, info = @tm.do_transfer_action(@id, step[:parameters], stdin=step[:stdin])
result, info = @tm.do_transfer_action(@id, step[:parameters], stdin = step[:stdin])

else
result = DriverExecHelper.const_get(:RESULT)[:failure]
Expand Down Expand Up @@ -1104,8 +1104,8 @@ def disk_snapshot_create(id, drv_message)
# Get TM command
tm_command = ensure_xpath(xml_data, id, action, 'TM_COMMAND') || return

tm_command_split = tm_command.split
tm_command_split[0].sub!('.', '_LIVE.') or tm_command_split[0] += '_LIVE'
tm_command_split = tm_command.split
tm_command_split[0].sub!('.', '_LIVE.') || (tm_command_split[0] += '_LIVE')

action = VmmAction.new(self, id, :disk_snapshot_create, drv_message)

Expand Down

0 comments on commit 1f53dbe

Please sign in to comment.