mirror of
https://github.com/juanfont/headscale.git
synced 2025-07-16 12:21:56 -04:00
remove unneeded check (#2658)
This commit is contained in:
parent
ded049b905
commit
855c48aec2
@ -14,6 +14,8 @@
|
|||||||
[#2614](https://github.com/juanfont/headscale/pull/2614)
|
[#2614](https://github.com/juanfont/headscale/pull/2614)
|
||||||
- Support client verify for DERP
|
- Support client verify for DERP
|
||||||
[#2046](https://github.com/juanfont/headscale/pull/2046)
|
[#2046](https://github.com/juanfont/headscale/pull/2046)
|
||||||
|
- Remove redundant check regarding `noise` config
|
||||||
|
[#2658](https://github.com/juanfont/headscale/pull/2658)
|
||||||
- Refactor OpenID Connect documentation
|
- Refactor OpenID Connect documentation
|
||||||
[#2625](https://github.com/juanfont/headscale/pull/2625)
|
[#2625](https://github.com/juanfont/headscale/pull/2625)
|
||||||
- Don't crash if config file is missing
|
- Don't crash if config file is missing
|
||||||
|
@ -392,7 +392,7 @@ func validateServerConfig() error {
|
|||||||
errorText += "Fatal config error: set either tls_letsencrypt_hostname or tls_cert_path/tls_key_path, not both\n"
|
errorText += "Fatal config error: set either tls_letsencrypt_hostname or tls_cert_path/tls_key_path, not both\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
if !viper.IsSet("noise") || viper.GetString("noise.private_key_path") == "" {
|
if viper.GetString("noise.private_key_path") == "" {
|
||||||
errorText += "Fatal config error: headscale now requires a new `noise.private_key_path` field in the config file for the Tailscale v2 protocol\n"
|
errorText += "Fatal config error: headscale now requires a new `noise.private_key_path` field in the config file for the Tailscale v2 protocol\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user