1
0
Fork 0

refactor(rancher): rewrite configuration system.

This commit is contained in:
Fernandez Ludovic 2017-12-02 19:29:09 +01:00 committed by Traefiker
parent 5f71a43758
commit ca680710a2
5 changed files with 229 additions and 650 deletions

View file

@ -45,7 +45,7 @@ func (p *Provider) metadataProvide(configurationChan chan<- types.ConfigMessage,
}
rancherData := parseMetadataSourcedRancherData(stacks)
configuration := p.loadRancherConfig(rancherData)
configuration := p.buildConfiguration(rancherData)
configurationChan <- types.ConfigMessage{
ProviderName: "rancher",
Configuration: configuration,