forked from SW/traefik
Add KV store providers (dynamic configuration only)
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
committed by
Traefiker Bot
parent
028683666d
commit
9b9f4be6a4
@@ -156,6 +156,7 @@ func TestEncodeToFlat(t *testing.T) {
|
||||
Case: "upper",
|
||||
Separator: "_",
|
||||
SkipRoot: false,
|
||||
TagName: TagLabel,
|
||||
},
|
||||
expected: []Flat{{
|
||||
Name: "TRAEFIK_FIELD",
|
||||
@@ -1236,7 +1237,7 @@ func TestEncodeToFlat(t *testing.T) {
|
||||
|
||||
var opts FlatOpts
|
||||
if test.opts == nil {
|
||||
opts = FlatOpts{Separator: ".", SkipRoot: true}
|
||||
opts = FlatOpts{Separator: ".", SkipRoot: true, TagName: TagLabel}
|
||||
} else {
|
||||
opts = *test.opts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user