If a provisioner fails in deleting a stale directory, it can permanently break a provisioner.
|
err = fs.RemoveAll(sessionDirPath) |
|
if err != nil { |
|
return xerrors.Errorf("can't remove %q directory: %w", sessionDirPath, err) |
|
} |
This code should not be a fatal error.
#20563 (comment)