Repository navigation
Commit 65c0446
committed
NAS backup: keep the Failed row when the agent reports a failed backup
#13180 made takeBackup keep the backup row in Failed state instead of
deleting it. The forward merge of 4.22 after #14305 resolved the
failed-answer branch to the 4.22 version, which deletes the row again.
Restore the update and return the row to the caller as the Error branch
does, so the schedule, name and resource counts are recorded on it.1 parent 1abb539 commit 65c0446
2 files changed
Lines changed: 7 additions & 5 deletions
File tree
- plugins/backup/nas/src
- main/java/org/apache/cloudstack/backup
- test/java/org/apache/cloudstack/backup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
673 | | - | |
| 672 | + | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
| |||
0 commit comments