Skip to content

Commit

Permalink
Trigger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jun 28, 2023
1 parent a155880 commit 5113ecd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/configuration/settings/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ func (p PortForwarding) validate(vpnProvider string) (err error) {
providers.PrivateInternetAccess,
providers.Protonvpn,
}
if err = validate.IsOneOf(providerSelected, validProviders...); err != nil {
err = validate.IsOneOf(providerSelected, validProviders...)
if err != nil {
return fmt.Errorf("%w: %w", ErrPortForwardingEnabled, err)
}

Expand Down

0 comments on commit 5113ecd

Please sign in to comment.