diff options
author | baude <bbaude@redhat.com> | 2019-01-15 14:44:46 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-01-15 16:01:25 -0600 |
commit | e68f03ae45adbaa539c7470aa5f99dc870c185dc (patch) | |
tree | 186737d7a6578d48496a25233831bc7465381e57 /libpod/adapter/runtime.go | |
parent | 341f91da480bbf337dfb13107389307835b1f0c3 (diff) | |
download | podman-e68f03ae45adbaa539c7470aa5f99dc870c185dc.tar.gz podman-e68f03ae45adbaa539c7470aa5f99dc870c185dc.tar.bz2 podman-e68f03ae45adbaa539c7470aa5f99dc870c185dc.zip |
Embed runtime struct in super localRuntime
We clean up the code by eliminating stuttering references when we embed
the runtime struct into localRuntime. Makes for less change in the future
as well.
++ jhonce
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/adapter/runtime.go')
-rw-r--r-- | libpod/adapter/runtime.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/adapter/runtime.go b/libpod/adapter/runtime.go index b49c91403..1f3599082 100644 --- a/libpod/adapter/runtime.go +++ b/libpod/adapter/runtime.go @@ -15,8 +15,8 @@ import ( // LocalRuntime describes a typical libpod runtime type LocalRuntime struct { - Runtime *libpod.Runtime - Remote bool + *libpod.Runtime + Remote bool } // ContainerImage ... |