Skip to content

Commit

Permalink
driver: fixed error in 'import' interruption
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Mar 1, 2014
1 parent 75fbdf6 commit faa7495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/vagrant-parallels/driver/pd_8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def read_settings

def read_state
vm = json { execute('list', @uuid, '--json', retryable: true).gsub(/^INFO/, '') }
return nil if !vm.last
vm.last.fetch('status').to_sym
end

Expand Down
1 change: 1 addition & 0 deletions lib/vagrant-parallels/driver/pd_9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def read_settings

def read_state
vm = json { execute('list', @uuid, '--json', retryable: true) }
return nil if !vm.last
vm.last.fetch('status').to_sym
end

Expand Down

0 comments on commit faa7495

Please sign in to comment.