diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-12 14:02:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 14:02:32 -0500 |
commit | 265ec914d3a2286c0e4070842c942c1fee0dd7df (patch) | |
tree | 8534f209fadf6489b1a9fb05a67242c7aaee7494 /libpod/image | |
parent | db52828621261e631f6db3c1bcf17aa10b46bd48 (diff) | |
parent | befd40b57d4e99cccd32ba6867a85c1da816fe5e (diff) | |
download | podman-265ec914d3a2286c0e4070842c942c1fee0dd7df.tar.gz podman-265ec914d3a2286c0e4070842c942c1fee0dd7df.tar.bz2 podman-265ec914d3a2286c0e4070842c942c1fee0dd7df.zip |
Merge pull request #8950 from mheon/exorcise_driver
Exorcise Driver code from libpod/define
Diffstat (limited to 'libpod/image')
-rw-r--r-- | libpod/image/image.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go index 39d740b7a..d732aecfe 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -29,6 +29,7 @@ import ( "github.com/containers/image/v5/transports" "github.com/containers/image/v5/transports/alltransports" "github.com/containers/image/v5/types" + "github.com/containers/podman/v2/libpod/define" "github.com/containers/podman/v2/libpod/driver" "github.com/containers/podman/v2/libpod/events" "github.com/containers/podman/v2/pkg/inspect" @@ -970,7 +971,7 @@ func (i *Image) toImageRef(ctx context.Context) (types.Image, error) { } // DriverData gets the driver data from the store on a layer -func (i *Image) DriverData() (*driver.Data, error) { +func (i *Image) DriverData() (*define.DriverData, error) { return driver.GetDriverData(i.imageruntime.store, i.TopLayer()) } |