chore(lint): bump linter from v2.4.0 to v2.11.4

This commit is contained in:
Quentin McGaw
2026-08-05 14:26:21 +00:00
parent d994ce5809
commit 3ae441e862
24 changed files with 35 additions and 29 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ func (h *openvpnHandler) getSettings(w http.ResponseWriter) {
vpnSettings := h.looper.GetSettings()
settings := vpnSettings.OpenVPN
encoder := json.NewEncoder(w)
if err := encoder.Encode(settings); err != nil {
if err := encoder.Encode(settings); err != nil { //nolint:gosec
h.warner.Warn(err.Error())
w.WriteHeader(http.StatusInternalServerError)
return