fixing Linux build problems

This commit is contained in:
christophe-duc 2026-01-07 14:24:07 -04:00
parent 046d70e16c
commit 0d04e4acef

View file

@ -541,10 +541,11 @@ func convertLibpodImageHistory(history []libimage.ImageHistory) []ImageHistoryEn
func convertLibpodVolumeList(vols []*libpod.Volume) []VolumeSummary {
result := make([]VolumeSummary, len(vols))
for i, vol := range vols {
mountpoint, _ := vol.MountPoint()
result[i] = VolumeSummary{
Name: vol.Name(),
Driver: vol.Driver(),
Mountpoint: vol.MountPoint(),
Mountpoint: mountpoint,
CreatedAt: vol.CreatedTime(),
Labels: vol.Labels(),
Scope: vol.Scope(),