summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/types.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-05-14 16:50:44 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-05-14 16:56:02 -0400
commit08d04c2e0512cd67e81965f4f6aee26a83fd4046 (patch)
tree9d6c0ea852bdcf11ecc700abfbde9d889f1b64dc /pkg/api/handlers/types.go
parent0f0abe290927cd17542953042885b554dbffd83e (diff)
downloadpodman-08d04c2e0512cd67e81965f4f6aee26a83fd4046.tar.gz
podman-08d04c2e0512cd67e81965f4f6aee26a83fd4046.tar.bz2
podman-08d04c2e0512cd67e81965f4f6aee26a83fd4046.zip
Parameters for ExecStart are body, not query
Oops. Misread the docs when I initially implemented this. Nice and easy fix, at least. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg/api/handlers/types.go')
-rw-r--r--pkg/api/handlers/types.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/handlers/types.go b/pkg/api/handlers/types.go
index 2075d29df..d8cdd9caf 100644
--- a/pkg/api/handlers/types.go
+++ b/pkg/api/handlers/types.go
@@ -170,6 +170,11 @@ type ExecCreateResponse struct {
docker.IDResponse
}
+type ExecStartConfig struct {
+ Detach bool `json:"Detach"`
+ Tty bool `json:"Tty"`
+}
+
func ImageToImageSummary(l *libpodImage.Image) (*entities.ImageSummary, error) {
containers, err := l.Containers()
if err != nil {