Skip to content

Commit

Permalink
Merge pull request #639 from rgooch/fix-pr-638
Browse files Browse the repository at this point in the history
Fix bug introduced by PR# 638 and remove previously dead code.
  • Loading branch information
cviecco committed Aug 31, 2019
2 parents 2689a75 + 0dab710 commit f1c456f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hypervisor/manager/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1809,11 +1809,6 @@ func (m *Manager) patchVmImage(conn *srpc.Conn,
if err != nil {
return err
}
_, err = os.Stat(
filepath.Join(vm.VolumeLocations[0].DirectoryToCleanup, "kernel"))
if err != nil {
return err
}
if writeBootloaderConfig {
err := bootInfo.WriteBootloaderConfig(rootDir, vm.logger)
if err != nil {
Expand Down

0 comments on commit f1c456f

Please sign in to comment.