forked from Ivasoft/traefik
Filter env vars configuration
This commit is contained in:
committed by
Traefiker Bot
parent
adc9a65ae3
commit
a918dcd5a4
@@ -9,9 +9,9 @@ import (
|
||||
"github.com/containous/traefik/pkg/config/parser"
|
||||
)
|
||||
|
||||
func decodeRawToNode(data map[string]interface{}, filters ...string) (*parser.Node, error) {
|
||||
func decodeRawToNode(data map[string]interface{}, rootName string, filters ...string) (*parser.Node, error) {
|
||||
root := &parser.Node{
|
||||
Name: "traefik",
|
||||
Name: rootName,
|
||||
}
|
||||
|
||||
vData := reflect.ValueOf(data)
|
||||
|
||||
Reference in New Issue
Block a user