Add ability to set public cluster address (#761)
This commit is contained in:
1 parent
038540f9ad
commit
e2e4631929
14 files changed
+84
-16
No files matched your search
@@ -406,6 +406,9 @@ func NewTestController(t *testing.T, opts *TestControllerOpts) *TestController {
|
||||
if err := tc.b.SetupListeners(nil, opts.Config.SharedConfig, []string{"api", "cluster"}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err := tc.b.SetupControllerPublicClusterAddress(opts.Config, ""); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if opts.DatabaseUrl != "" {
|
||||
tc.b.DatabaseUrl = opts.DatabaseUrl
|
||||
|
||||
Reference in new issue
Block a user