Merge pull request #20813 from Luap99/sqlite-removepodcontainers
sqlite: fix missing Commit() in RemovePodContainers()
This commit is contained in:
commit
2645f91bfe
|
|
@ -1699,6 +1699,10 @@ func (s *SQLiteState) RemovePodContainers(pod *Pod) (defErr error) {
|
|||
return err
|
||||
}
|
||||
|
||||
if err := tx.Commit(); err != nil {
|
||||
return fmt.Errorf("committing pod containers %s removal transaction: %w", pod.ID(), err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue