mirror of
https://github.com/containers/podman.git
synced 2025-09-22 04:03:48 +08:00
sqlite: SaveVolume: fix syntax error updating the volumes table
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -1908,7 +1908,7 @@ func (s *SQLiteState) SaveVolume(volume *Volume) (defErr error) {
|
||||
}
|
||||
}()
|
||||
|
||||
results, err := tx.Exec("UPDATE TABLE VolumeState SET JSON=? WHERE Name=?;", stateJSON, volume.Name())
|
||||
results, err := tx.Exec("UPDATE VolumeState SET JSON=? WHERE Name=?;", stateJSON, volume.Name())
|
||||
if err != nil {
|
||||
return fmt.Errorf("updating volume %s state in DB: %w", volume.Name(), err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user