_applyHostStorageRoot only rewrote binds carrying the current NOMAD_STORAGE_PATH and short-circuited when env == resolved root. That left user-modified/custom apps — whose binds freeze the default prefix at edit time — mounting an empty dir on the documented "set NOMAD_STORAGE_PATH + relocate the volume" path (#938). - Match either the env value or the hardcoded default prefix; drop the root == seededRoot no-op, excluding root from the candidates instead so rewrites stay idempotent. - Add ADMIN_STORAGE_DEST / DEFAULT_HOST_STORAGE_ROOT constants; replace the cwd-derived storage dest so admin-mount lookup can't silently break. - Comment why a transient inspect failure is deliberately not cached. |
||
|---|---|---|
| .. | ||
| controllers | ||
| exceptions | ||
| jobs | ||
| middleware | ||
| models | ||
| services | ||
| utils | ||
| validators | ||