We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33820f0 commit 44e6c8dCopy full SHA for 44e6c8d
1 file changed
services/project/backup.go
@@ -280,7 +280,7 @@ func (b *BackupDB) format() (*BackupFormat, error) {
280
repoName,
281
}
282
283
- if o.TaskParams.InventoryID != nil {
+ if o.TaskParams != nil && o.TaskParams.InventoryID != nil {
284
schedules[i].TaskParams.InventoryName, _ = findNameByID[db.Inventory](*o.TaskParams.InventoryID, b.inventories)
285
286
0 commit comments