summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/volumes.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-03-25 14:16:56 -0500
committerBrent Baude <bbaude@redhat.com>2020-03-25 14:16:56 -0500
commitba1d8ad2af21a1e52ce988b9f312eb3d16c9d583 (patch)
treed4e8e231d4c00b8bb6a75ef5f1036ce3926b3161 /pkg/domain/infra/abi/volumes.go
parentff0124aee1ca700be3b7357b992a220cdacfddfd (diff)
downloadpodman-ba1d8ad2af21a1e52ce988b9f312eb3d16c9d583.tar.gz
podman-ba1d8ad2af21a1e52ce988b9f312eb3d16c9d583.tar.bz2
podman-ba1d8ad2af21a1e52ce988b9f312eb3d16c9d583.zip
enable linting on v2
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/volumes.go')
-rw-r--r--pkg/domain/infra/abi/volumes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/volumes.go b/pkg/domain/infra/abi/volumes.go
index 0cc20474e..5527bb82e 100644
--- a/pkg/domain/infra/abi/volumes.go
+++ b/pkg/domain/infra/abi/volumes.go
@@ -107,7 +107,7 @@ func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []strin
UID: v.UID(),
GID: v.GID(),
}
- reports = append(reports, &entities.VolumeInspectReport{&config})
+ reports = append(reports, &entities.VolumeInspectReport{VolumeConfigResponse: &config})
}
return reports, nil
}
@@ -140,7 +140,7 @@ func (ic *ContainerEngine) VolumeList(ctx context.Context, opts entities.VolumeL
UID: v.UID(),
GID: v.GID(),
}
- reports = append(reports, &entities.VolumeListReport{config})
+ reports = append(reports, &entities.VolumeListReport{VolumeConfigResponse: config})
}
return reports, nil
}