(Fix) Lint errors
This commit is contained in:
@@ -8,7 +8,8 @@ import (
|
|||||||
"github.com/qdm12/gluetun/internal/constants"
|
"github.com/qdm12/gluetun/internal/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *configurator) Start(ctx context.Context) (stdoutLines, stderrLines chan string, waitError chan error, err error) {
|
func (c *configurator) Start(ctx context.Context) (
|
||||||
|
stdoutLines, stderrLines chan string, waitError chan error, err error) {
|
||||||
c.logger.Info("starting openvpn")
|
c.logger.Info("starting openvpn")
|
||||||
return c.commander.Start(ctx, "openvpn", "--config", string(constants.OpenVPNConf))
|
return c.commander.Start(ctx, "openvpn", "--config", string(constants.OpenVPNConf))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,8 +77,8 @@ Your credentials might be wrong 🤨
|
|||||||
|
|
||||||
`
|
`
|
||||||
level = logging.ErrorLevel
|
level = logging.ErrorLevel
|
||||||
case strings.Contains(s, "TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"):
|
case strings.Contains(s, "TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"): //nolint:lll
|
||||||
s += `
|
filtered = s + `
|
||||||
🚒🚒🚒🚒🚒🚨🚨🚨🚨🚨🚨🚒🚒🚒🚒🚒
|
🚒🚒🚒🚒🚒🚨🚨🚨🚨🚨🚨🚒🚒🚒🚒🚒
|
||||||
That error usually happens because either:
|
That error usually happens because either:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user