-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
If a provisioner fails in deleting a stale directory, it can permanently break a provisioner.
coder/provisionersdk/tfpath/tfpath.go
Lines 238 to 241 in 52e2fa1
| 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.