migrate to golangci-lint v2

This commit is contained in:
Michael Eischer
2025-12-06 20:16:26 +01:00
parent b3ce796ae7
commit 512d7e88ee
3 changed files with 33 additions and 45 deletions

View File

@@ -196,7 +196,7 @@ func (app *restServerApp) runRoot(_ *cobra.Command, _ []string) error {
case "1.3":
tlscfg.MinVersion = tls.VersionTLS13
default:
return fmt.Errorf("Unsupported TLS min version: %s. Allowed versions are 1.2 or 1.3", app.Server.TLSMinVer)
return fmt.Errorf("unsupported TLS min version: %s. Allowed versions are 1.2 or 1.3", app.Server.TLSMinVer)
}
srv := &http.Server{