v0.21.2: Fix config apply on Docker bind mounts
os.Rename() fails with "device or resource busy" on bind-mounted files. Fall back to direct os.WriteFile when rename fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
## Changelog
|
||||
|
||||
### v0.21.2 — Config Apply Bind Mount Fix (2026-02-20)
|
||||
- **Fix config apply on Docker bind mounts**: `POST /api/config/apply` failed with "device or resource busy" because `os.Rename()` doesn't work on bind-mounted files. Now falls back to direct write when rename fails.
|
||||
|
||||
### v0.21.1 — Config Content Endpoint (2026-02-20)
|
||||
- **`GET /api/config`**: New endpoint returning raw controller.yaml content (text/yaml). Used by Hub for live config diff and pull operations. Same auth as other config endpoints (Bearer token or session cookie).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user