diff options
author | Niall Crowe <nicrowe@redhat.com> | 2022-06-03 14:07:09 +0100 |
---|---|---|
committer | Niall Crowe <nicrowe@redhat.com> | 2022-06-03 14:49:43 +0100 |
commit | 3c9b75c217d34efc0eb0896a92c49fcb54525065 (patch) | |
tree | d9185b2773f0a0715279c38f53febf3ca727afc6 /pkg/api/handlers/libpod | |
parent | f7a54088c30dd71a625527aecd740bac8086ccdb (diff) | |
download | podman-3c9b75c217d34efc0eb0896a92c49fcb54525065.tar.gz podman-3c9b75c217d34efc0eb0896a92c49fcb54525065.tar.bz2 podman-3c9b75c217d34efc0eb0896a92c49fcb54525065.zip |
Using logDriver instead of query.LogDriver for podman play kube
Quick fix in play.go to use logDriver to set the correct
log driver rather than overwriting query.LogDriver.
[NO NEW TESTS NEEDED]
Signed-off-by: Niall Crowe <nicrowe@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod')
-rw-r--r-- | pkg/api/handlers/libpod/play.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/handlers/libpod/play.go b/pkg/api/handlers/libpod/play.go index b71afc28c..36e61c986 100644 --- a/pkg/api/handlers/libpod/play.go +++ b/pkg/api/handlers/libpod/play.go @@ -77,7 +77,7 @@ func PlayKube(w http.ResponseWriter, r *http.Request) { utils.Error(w, http.StatusInternalServerError, err) return } - query.LogDriver = config.Containers.LogDriver + logDriver = config.Containers.LogDriver } containerEngine := abi.ContainerEngine{Libpod: runtime} @@ -89,7 +89,7 @@ func PlayKube(w http.ResponseWriter, r *http.Request) { Networks: query.Network, NoHosts: query.NoHosts, Quiet: true, - LogDriver: query.LogDriver, + LogDriver: logDriver, LogOptions: query.LogOptions, StaticIPs: staticIPs, StaticMACs: staticMACs, |