Skip to content

Commit

Permalink
Merge pull request #23772 from mheon/fix_volume_get_sqlite
Browse files Browse the repository at this point in the history
Fix an improperly ignored error in SQLite
  • Loading branch information
openshift-merge-bot[bot] authored Aug 28, 2024
2 parents 5d211ad + 6e027c0 commit da90ad1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpod/sqlite_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -2157,6 +2157,7 @@ func (s *SQLiteState) Volume(name string) (*Volume, error) {
if errors.Is(err, sql.ErrNoRows) {
return nil, define.ErrNoSuchVolume
}
return nil, fmt.Errorf("querying volume %s: %w", name, err)
}

vol := new(Volume)
Expand Down

0 comments on commit da90ad1

Please sign in to comment.