mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
ci: enable gocognit (#9359)
And, bring the server under 300: * Removed the undocumented "disable" STUN address in favor of the --disable-direct flag.
This commit is contained in:
@ -329,7 +329,7 @@ func NewOptions(t testing.TB, options *Options) (func(http.Handler), context.Can
|
||||
t.Cleanup(stunCleanup)
|
||||
stunAddresses = []string{stunAddr.String()}
|
||||
options.DeploymentValues.DERP.Server.STUNAddresses = stunAddresses
|
||||
} else if dvStunAddresses[0] != "disable" {
|
||||
} else if dvStunAddresses[0] != tailnet.DisableSTUN {
|
||||
stunAddresses = options.DeploymentValues.DERP.Server.STUNAddresses.Value()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user