Skip to content

Commit fb5bac8

Browse files
committed
use correct template to generate config
1 parent 4a8f264 commit fb5bac8

File tree

10 files changed

+40976
-6152
lines changed

10 files changed

+40976
-6152
lines changed

src/github.com/getlantern/flashlight/config/config_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/getlantern/flashlight/client"
98
"github.com/getlantern/fronted"
109
"github.com/stretchr/testify/assert"
10+
11+
"github.com/getlantern/flashlight/client"
12+
"github.com/getlantern/flashlight/config/generated"
1113
)
1214

1315
// TestObfuscated tests reading obfuscated global config from disk
@@ -46,7 +48,7 @@ func TestEmbedded(t *testing.T) {
4648
return make(map[string]*client.ChainedServerInfo)
4749
})
4850

49-
pr, err := cfg.embedded(EmbeddedProxies, "proxies.yaml")
51+
pr, err := cfg.embedded(generated.EmbeddedProxies, "proxies.yaml")
5052
assert.Nil(t, err)
5153

5254
proxies := pr.(map[string]*client.ChainedServerInfo)

src/github.com/getlantern/flashlight/config/generated/embeddedGlobal.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/github.com/getlantern/flashlight/config/generated/embeddedProxies.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)