mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
fixing Linux build problems
This commit is contained in:
parent
046d70e16c
commit
0d04e4acef
1 changed files with 2 additions and 1 deletions
|
|
@ -541,10 +541,11 @@ func convertLibpodImageHistory(history []libimage.ImageHistory) []ImageHistoryEn
|
||||||
func convertLibpodVolumeList(vols []*libpod.Volume) []VolumeSummary {
|
func convertLibpodVolumeList(vols []*libpod.Volume) []VolumeSummary {
|
||||||
result := make([]VolumeSummary, len(vols))
|
result := make([]VolumeSummary, len(vols))
|
||||||
for i, vol := range vols {
|
for i, vol := range vols {
|
||||||
|
mountpoint, _ := vol.MountPoint()
|
||||||
result[i] = VolumeSummary{
|
result[i] = VolumeSummary{
|
||||||
Name: vol.Name(),
|
Name: vol.Name(),
|
||||||
Driver: vol.Driver(),
|
Driver: vol.Driver(),
|
||||||
Mountpoint: vol.MountPoint(),
|
Mountpoint: mountpoint,
|
||||||
CreatedAt: vol.CreatedTime(),
|
CreatedAt: vol.CreatedTime(),
|
||||||
Labels: vol.Labels(),
|
Labels: vol.Labels(),
|
||||||
Scope: vol.Scope(),
|
Scope: vol.Scope(),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue