diff options
author | Lars Karlitski <lars@karlitski.net> | 2019-02-04 20:08:34 +0100 |
---|---|---|
committer | Lars Karlitski <lars@karlitski.net> | 2019-02-12 14:48:19 +0100 |
commit | 5a325181709041ec01a4e60ed039bbd8cb7a20db (patch) | |
tree | 12b0640763b42ba1a1c4a1ca568b0cfff6b61e96 /pkg/varlinkapi/util.go | |
parent | 8a51b11058d4e5581d53177a1cee5e05aac57500 (diff) | |
download | podman-5a325181709041ec01a4e60ed039bbd8cb7a20db.tar.gz podman-5a325181709041ec01a4e60ed039bbd8cb7a20db.tar.bz2 podman-5a325181709041ec01a4e60ed039bbd8cb7a20db.zip |
varlink: Rename `ContainerInList` to `Container`
Container more clearly describes what the type represents.
Signed-off-by: Lars Karlitski <lars@karlitski.net>
Diffstat (limited to 'pkg/varlinkapi/util.go')
-rw-r--r-- | pkg/varlinkapi/util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/varlinkapi/util.go b/pkg/varlinkapi/util.go index 51891e729..7f6f95d3b 100644 --- a/pkg/varlinkapi/util.go +++ b/pkg/varlinkapi/util.go @@ -15,7 +15,7 @@ func getContext() context.Context { return context.TODO() } -func makeListContainer(containerID string, batchInfo shared.BatchContainerStruct) iopodman.ListContainerData { +func makeListContainer(containerID string, batchInfo shared.BatchContainerStruct) iopodman.Container { var ( mounts []iopodman.ContainerMount ports []iopodman.ContainerPortMappings @@ -56,7 +56,7 @@ func makeListContainer(containerID string, batchInfo shared.BatchContainerStruct Ipc: ns.IPC, } - lc := iopodman.ListContainerData{ + lc := iopodman.Container{ Id: containerID, Image: batchInfo.ConConfig.RootfsImageName, Imageid: batchInfo.ConConfig.RootfsImageID, |