Sort lint

This commit is contained in:
Kristoffer Dalby 2022-02-24 11:10:40 +00:00
parent afb67b6e75
commit 8c33907655
2 changed files with 4 additions and 2 deletions

View file

@ -94,7 +94,9 @@ func LoadConfig(path string) error {
errorText += "Fatal config error: server_url must start with https:// or http://\n"
}
_, authModeValid := headscale.LookupTLSClientAuthMode(viper.GetString("tls_client_auth_mode"))
_, authModeValid := headscale.LookupTLSClientAuthMode(
viper.GetString("tls_client_auth_mode"),
)
if !authModeValid {
errorText += fmt.Sprintf(