Maint: remove outdated Auth log warning about PIA

This commit is contained in:
Quentin McGaw (desktop)
2021-07-16 00:49:50 +00:00
parent d29429808c
commit 6bbb7c8f7d
2 changed files with 1 additions and 3 deletions

View File

@@ -72,8 +72,6 @@ func processLogLine(s string) (filtered string, level logging.Level) {
Your credentials might be wrong 🤨 Your credentials might be wrong 🤨
💡 If you use Private Internet Access, check https://github.com/qdm12/gluetun/issues/265
` `
level = logging.LevelError level = logging.LevelError
case strings.Contains(s, "TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"): //nolint:lll case strings.Contains(s, "TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"): //nolint:lll

View File

@@ -42,7 +42,7 @@ func Test_processLogLine(t *testing.T) {
logging.LevelInfo}, logging.LevelInfo},
"openvpn auth failed": { "openvpn auth failed": {
"AUTH: Received control message: 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}, logging.LevelError},
} }
for name, tc := range tests { for name, tc := range tests {