Add KV store providers (dynamic configuration only)
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
parent
028683666d
commit
9b9f4be6a4
61 changed files with 5825 additions and 70 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue