mirror of https://github.com/containers/podman.git
sqlite: SaveVolume: fix syntax error updating the volumes table
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
7c11f7e174
commit
3f96b0ef28
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue