summaryrefslogtreecommitdiff
path: root/cmd/podman/pods/inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-09 09:08:17 -0400
committerGitHub <noreply@github.com>2021-09-09 09:08:17 -0400
commit7ee5b29b0701ea5279329a0a699ad0f96cfe22aa (patch)
tree01ec73e87761ff308b8730051c451f8aaeb8f5fb /cmd/podman/pods/inspect.go
parent23527374c4f9543466072bb5609d8a4d68d1ae85 (diff)
parent6888b061d06a699772921aaf6c57f4bd6c95d1c6 (diff)
downloadpodman-7ee5b29b0701ea5279329a0a699ad0f96cfe22aa.tar.gz
podman-7ee5b29b0701ea5279329a0a699ad0f96cfe22aa.tar.bz2
podman-7ee5b29b0701ea5279329a0a699ad0f96cfe22aa.zip
Merge pull request #11499 from flouthoc/inspect-tmpl-flush-writer
inspect: printTmpl must Flush writer
Diffstat (limited to 'cmd/podman/pods/inspect.go')
-rw-r--r--cmd/podman/pods/inspect.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/pods/inspect.go b/cmd/podman/pods/inspect.go
index 4bb88f48a..96eaec3b9 100644
--- a/cmd/podman/pods/inspect.go
+++ b/cmd/podman/pods/inspect.go
@@ -80,5 +80,7 @@ func inspect(cmd *cobra.Command, args []string) error {
if err != nil {
return err
}
- return t.Execute(w, *responses)
+ err = t.Execute(w, *responses)
+ w.Flush()
+ return err
}