mirror of https://github.com/containers/podman.git
Merge pull request #3283 from haircommander/logging-play-kube-hotfix
Set a default log driver if none is specified
This commit is contained in:
commit
a89d013b12
|
@ -320,7 +320,9 @@ func (c *CreateConfig) getContainerCreateOptions(runtime *libpod.Runtime, pod *l
|
||||||
options = append(options, libpod.WithLogPath(logPath))
|
options = append(options, libpod.WithLogPath(logPath))
|
||||||
}
|
}
|
||||||
|
|
||||||
options = append(options, libpod.WithLogDriver(c.LogDriver))
|
if c.LogDriver != "" {
|
||||||
|
options = append(options, libpod.WithLogDriver(c.LogDriver))
|
||||||
|
}
|
||||||
|
|
||||||
if c.IPAddress != "" {
|
if c.IPAddress != "" {
|
||||||
ip := net.ParseIP(c.IPAddress)
|
ip := net.ParseIP(c.IPAddress)
|
||||||
|
|
Loading…
Reference in New Issue