1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-08-10 13:46:46 +02:00

remove unneeded check

This commit is contained in:
Stavros Kois 2025-06-25 14:45:59 +03:00
parent e73b2a9fb9
commit 37ff918833
No known key found for this signature in database
GPG Key ID: 52FD8F5EE0A731BB

View File

@ -388,7 +388,7 @@ func validateServerConfig() error {
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"
}