From 6bbb7c8f7d2f8bc294d78fb4743aa75b436e61e0 Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Fri, 16 Jul 2021 00:49:50 +0000 Subject: [PATCH] Maint: remove outdated Auth log warning about PIA --- internal/openvpn/logs.go | 2 -- internal/openvpn/logs_test.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/openvpn/logs.go b/internal/openvpn/logs.go index 50c9851b..bf0fa3eb 100644 --- a/internal/openvpn/logs.go +++ b/internal/openvpn/logs.go @@ -72,8 +72,6 @@ func processLogLine(s string) (filtered string, level logging.Level) { Your credentials might be wrong 🤨 -💡 If you use Private Internet Access, check https://github.com/qdm12/gluetun/issues/265 - ` level = logging.LevelError case strings.Contains(s, "TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"): //nolint:lll diff --git a/internal/openvpn/logs_test.go b/internal/openvpn/logs_test.go index 224fd654..4c30332f 100644 --- a/internal/openvpn/logs_test.go +++ b/internal/openvpn/logs_test.go @@ -42,7 +42,7 @@ func Test_processLogLine(t *testing.T) { logging.LevelInfo}, "openvpn auth failed": { "AUTH: Received control message: AUTH_FAILED", - "AUTH: Received control message: AUTH_FAILED\n\nYour credentials might be wrong 🤨\n\n💡 If you use Private Internet Access, check https://github.com/qdm12/gluetun/issues/265\n\n", //nolint:lll + "AUTH: Received control message: AUTH_FAILED\n\nYour credentials might be wrong 🤨\n\n", logging.LevelError}, } for name, tc := range tests {