mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Fix Docker Logging Type interpolation
This PR fixes an issue that made Logging.Type un-interpretable in the docker driver.
This commit is contained in:
@@ -188,8 +188,8 @@ func NewDockerDriverConfig(task *structs.Task, env *env.TaskEnvironment) (*Docke
|
||||
dconf.Auth[i].ServerAddress = env.ReplaceEnv(a.ServerAddress)
|
||||
}
|
||||
|
||||
for _, l := range dconf.Logging {
|
||||
l.Type = env.ReplaceEnv(l.Type)
|
||||
for i, l := range dconf.Logging {
|
||||
dconf.Logging[i].Type = env.ReplaceEnv(l.Type)
|
||||
for _, c := range l.ConfigRaw {
|
||||
for k, v := range c {
|
||||
delete(c, k)
|
||||
|
||||
Reference in New Issue
Block a user