diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-05 17:29:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 17:29:56 +0200 |
commit | 9db97dbab8b777b3c9b868cdab62cb7b46839f95 (patch) | |
tree | cf9556b1c2991fa30b7c23398ec44a636bfbad82 /pkg/varlinkapi/remote_client.go | |
parent | e6235ef8f1a3111f8f1afbb1bf64f0e6da704a5b (diff) | |
parent | b5a235df900a6471895111b4de5f80732f7f563a (diff) | |
download | podman-9db97dbab8b777b3c9b868cdab62cb7b46839f95.tar.gz podman-9db97dbab8b777b3c9b868cdab62cb7b46839f95.tar.bz2 podman-9db97dbab8b777b3c9b868cdab62cb7b46839f95.zip |
Merge pull request #6080 from baude/v2stats
v2 podman stats
Diffstat (limited to 'pkg/varlinkapi/remote_client.go')
-rw-r--r-- | pkg/varlinkapi/remote_client.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/varlinkapi/remote_client.go b/pkg/varlinkapi/remote_client.go index a16d11dec..88e410de6 100644 --- a/pkg/varlinkapi/remote_client.go +++ b/pkg/varlinkapi/remote_client.go @@ -3,14 +3,14 @@ package varlinkapi import ( - "github.com/containers/libpod/libpod" + "github.com/containers/libpod/libpod/define" iopodman "github.com/containers/libpod/pkg/varlink" ) // ContainerStatsToLibpodContainerStats converts the varlink containerstats to a libpod // container stats -func ContainerStatsToLibpodContainerStats(stats iopodman.ContainerStats) libpod.ContainerStats { - cstats := libpod.ContainerStats{ +func ContainerStatsToLibpodContainerStats(stats iopodman.ContainerStats) define.ContainerStats { + cstats := define.ContainerStats{ ContainerID: stats.Id, Name: stats.Name, CPU: stats.Cpu, |