Skip to content

Commit

Permalink
Merge pull request rancher-sandbox#565 from mook-as/lima-log-symlink-…
Browse files Browse the repository at this point in the history
…ignore-error

Lima: Swallow error on failure to symlink lima logs.
  • Loading branch information
mattfarina authored Sep 2, 2021
2 parents 13eb794 + 8ec0c9f commit b41899d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/k8s-engine/lima.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ export default class LimaBackend extends events.EventEmitter implements K8s.Kube
.then(filenames => filenames.filter(x => x.endsWith('.log'))
.forEach(filename => fs.promises.symlink(
path.join(machineDir, filename),
path.join(Logging[LoggingPath], `lima.${ filename }`))));
path.join(Logging[LoggingPath], `lima.${ filename }`))
.catch( () => {})));
}

await this.deleteIncompatibleData(isDowngrade);
Expand Down

0 comments on commit b41899d

Please sign in to comment.