backup: return KNOT_ENOTSUP when trying to restore from possible future backup format version
Returning KNOT_ENOTSUP makes more sense than returning KNOT_EMALF in such situations.
parent
2baf13a1
No related branches found
No related tags found
Showing
- src/knot/zone/backup_dir.c 3 additions, 1 deletionsrc/knot/zone/backup_dir.c
- tests-extra/tests/zone/backup_lock/data/backup7/knot_backup.label 8 additions, 0 deletions...tra/tests/zone/backup_lock/data/backup7/knot_backup.label
- tests-extra/tests/zone/backup_lock/data/backup7/timers/data.mdb 0 additions, 0 deletions...extra/tests/zone/backup_lock/data/backup7/timers/data.mdb
- tests-extra/tests/zone/backup_lock/data/backup7/timers/lock.mdb 0 additions, 0 deletions...extra/tests/zone/backup_lock/data/backup7/timers/lock.mdb
- tests-extra/tests/zone/backup_lock/data/backup7/zonefiles/example1.zone 32 additions, 0 deletions...sts/zone/backup_lock/data/backup7/zonefiles/example1.zone
- tests-extra/tests/zone/backup_lock/data/backup7/zonefiles/example2.zone 6 additions, 0 deletions...sts/zone/backup_lock/data/backup7/zonefiles/example2.zone
- tests-extra/tests/zone/backup_lock/data/backup7/zonefiles/example3.zone 11 additions, 0 deletions...sts/zone/backup_lock/data/backup7/zonefiles/example3.zone
- tests-extra/tests/zone/backup_lock/test.py 9 additions, 2 deletionstests-extra/tests/zone/backup_lock/test.py
File added
File added
Please register or sign in to comment