diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-06 15:23:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 15:23:19 +0200 |
commit | ba64186750a23675f42744ca4203b524e7b1b378 (patch) | |
tree | 018be18b7e1f9dec076120ab2d9ca65a56eebb10 /pkg/api/handlers | |
parent | 8dea3c3419629de432bfaaa03d785fdb63b902d5 (diff) | |
parent | 7cbc09971a4d7322a6b29d86ef1d1fcb71f68f04 (diff) | |
download | podman-ba64186750a23675f42744ca4203b524e7b1b378.tar.gz podman-ba64186750a23675f42744ca4203b524e7b1b378.tar.bz2 podman-ba64186750a23675f42744ca4203b524e7b1b378.zip |
Merge pull request #5689 from sujil02/v2-pod-inspect
podmanv2 pod inspect
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r-- | pkg/api/handlers/libpod/pods.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/pods.go b/pkg/api/handlers/libpod/pods.go index e834029b2..a890169a1 100644 --- a/pkg/api/handlers/libpod/pods.go +++ b/pkg/api/handlers/libpod/pods.go @@ -73,7 +73,10 @@ func PodInspect(w http.ResponseWriter, r *http.Request) { utils.Error(w, "Something went wrong", http.StatusInternalServerError, err) return } - utils.WriteResponse(w, http.StatusOK, podData) + report := entities.PodInspectReport{ + PodInspect: podData, + } + utils.WriteResponse(w, http.StatusOK, report) } func PodStop(w http.ResponseWriter, r *http.Request) { |