summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-06-03 17:46:56 -0400
committerGitHub <noreply@github.com>2022-06-03 17:46:56 -0400
commitf4d8bf4afd291724a5ad4b342f76ec345eb76829 (patch)
tree47ecf08e8a46fa81750c29bbba4d86926941ba9c
parent0dda4681927b3428a113c81d851d962da8dd7302 (diff)
parent3c9b75c217d34efc0eb0896a92c49fcb54525065 (diff)
downloadpodman-f4d8bf4afd291724a5ad4b342f76ec345eb76829.tar.gz
podman-f4d8bf4afd291724a5ad4b342f76ec345eb76829.tar.bz2
podman-f4d8bf4afd291724a5ad4b342f76ec345eb76829.zip
Merge pull request #14478 from nicrowe00/kubefix
Use logDriver instead of query.LogDriver for podman play kube
-rw-r--r--pkg/api/handlers/libpod/play.go4
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,