mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
driver: add pre09 migration logic
This commit is contained in:
@@ -307,6 +307,11 @@ func (d *AllocDir) UnmountAll() error {
|
||||
fmt.Errorf("failed to remove the secret dir %q: %v", dir.SecretsDir, err))
|
||||
}
|
||||
}
|
||||
|
||||
// Unmount dev/ and proc/ have been mounted.
|
||||
if err := dir.unmountSpecialDirs(); err != nil {
|
||||
mErr.Errors = append(mErr.Errors, err)
|
||||
}
|
||||
}
|
||||
|
||||
return mErr.ErrorOrNil()
|
||||
|
||||
Reference in New Issue
Block a user