diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-26 10:53:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 10:53:26 +0000 |
commit | 4d75df8be380cff4df082bd6fc2f05aa2c433723 (patch) | |
tree | 99ef73a78541017921848d11729384e019d2f1ff /pkg/api/handlers/libpod/play.go | |
parent | f82f93c9bdaca49765019966df43384d34469575 (diff) | |
parent | acd8b4900058c364a660a4a01319a8d9cd097896 (diff) | |
download | podman-4d75df8be380cff4df082bd6fc2f05aa2c433723.tar.gz podman-4d75df8be380cff4df082bd6fc2f05aa2c433723.tar.bz2 podman-4d75df8be380cff4df082bd6fc2f05aa2c433723.zip |
Merge pull request #12086 from rhatdan/log
Add support to play kube for --log-opt
Diffstat (limited to 'pkg/api/handlers/libpod/play.go')
-rw-r--r-- | pkg/api/handlers/libpod/play.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/play.go b/pkg/api/handlers/libpod/play.go index 851e0f6c8..f943fc240 100644 --- a/pkg/api/handlers/libpod/play.go +++ b/pkg/api/handlers/libpod/play.go @@ -26,6 +26,7 @@ func PlayKube(w http.ResponseWriter, r *http.Request) { Network string `schema:"network"` TLSVerify bool `schema:"tlsVerify"` LogDriver string `schema:"logDriver"` + LogOptions []string `schema:"logOptions"` Start bool `schema:"start"` StaticIPs []string `schema:"staticIPs"` StaticMACs []string `schema:"staticMACs"` @@ -106,6 +107,7 @@ func PlayKube(w http.ResponseWriter, r *http.Request) { NoHosts: query.NoHosts, Quiet: true, LogDriver: query.LogDriver, + LogOptions: query.LogOptions, StaticIPs: staticIPs, StaticMACs: staticMACs, } |