mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-26 17:28:48 +08:00
fix: Fix the problem of abnormal default check items in snapshots (#8740)
This commit is contained in:
parent
bf7935e313
commit
1336b93efa
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ func (u *SnapshotService) LoadSnapshotData() (dto.SnapshotData, error) {
|
|||
}
|
||||
for i, item := range itemBackups {
|
||||
if item.Label == "app" {
|
||||
data.BackupData = append(itemBackups[:i], itemBackups[i+1:]...)
|
||||
itemBackups = append(itemBackups[:i], itemBackups[i+1:]...)
|
||||
}
|
||||
if item.Label == "system_snapshot" {
|
||||
itemBackups = append(itemBackups[:i], itemBackups[i+1:]...)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue