mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Removing one last spurious TunnelerDisabled and updating test
Signed-off-by: gberl002 <geoff.berl@netfoundry.io>
This commit is contained in:
@@ -34,12 +34,11 @@ const (
|
||||
type CreateConfigRouterOptions struct {
|
||||
CreateConfigOptions
|
||||
|
||||
RouterName string
|
||||
WssEnabled bool
|
||||
IsPrivate bool
|
||||
TunnelerDisabled bool
|
||||
TunnelerMode string
|
||||
LanInterface string
|
||||
RouterName string
|
||||
WssEnabled bool
|
||||
IsPrivate bool
|
||||
TunnelerMode string
|
||||
LanInterface string
|
||||
}
|
||||
|
||||
var routerOptions = CreateConfigRouterOptions{}
|
||||
|
||||
@@ -75,9 +75,6 @@ func TestTunnelerEnabledByDefault(t *testing.T) {
|
||||
// Create and run the CLI command without the tunnel flag
|
||||
config := createRouterConfig([]string{"edge", "--routerName", "myRouter"})
|
||||
|
||||
// Expect disabled flag to be false
|
||||
assert.False(t, data.Router.TunnelerDisabled, "Expected tunneler disabled flag to be false")
|
||||
|
||||
// Confirm tunneler is enabled in config output
|
||||
foundTunnel := false
|
||||
for i := 0; i < len(config.Listeners); i++ {
|
||||
|
||||
Reference in New Issue
Block a user