Support multiple namespaces in the Nomad Provider
This commit is contained in:
parent
358f47443e
commit
f7be1e97df
22 changed files with 266 additions and 60 deletions
|
@ -115,7 +115,9 @@ func NewProviderAggregator(conf static.Providers) ProviderAggregator {
|
|||
}
|
||||
|
||||
if conf.Nomad != nil {
|
||||
p.quietAddProvider(conf.Nomad)
|
||||
for _, pvd := range conf.Nomad.BuildProviders() {
|
||||
p.quietAddProvider(pvd)
|
||||
}
|
||||
}
|
||||
|
||||
if conf.Consul != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue