Files
felhom.eu/documentation/audits/v0242-2026-09-14/rp-v242-R487-restore-wrong-dir.txt
T

17 lines
924 B
Plaintext

MUTATION in internal/backup/restore_unit.go:
- if u, found := m.RemovedAppUnitFor(stackName); found {
return u.UnitDir
+ if u, found := m.RemovedAppUnitFor(stackName); found && false {
return u.UnitDir
=== RUN TestR487_PrimaryUnitDirForNamesTheRemovedUnitWhereItSits
[INFO] [settings] No settings.json found, using defaults
[INFO] [settings] Added storage path: /tmp/TestR487_PrimaryUnitDirForNamesTheRemovedUnitWhereItSits2078383903/004
[INFO] [settings] Settings saved
r487_removed_units_test.go:133: unit dir: got /tmp/TestR487_PrimaryUnitDirForNamesTheRemovedUnitWhereItSits2078383903/001/felhom-data/backups/primary/drive-app want /tmp/TestR487_PrimaryUnitDirForNamesTheRemovedUnitWhereItSits2078383903/004/backups/primary/drive-app
--- FAIL: TestR487_PrimaryUnitDirForNamesTheRemovedUnitWhereItSits (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/backup 0.006s
FAIL
exit=1