summaryrefslogtreecommitdiff
path: root/internal/server
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-05-30 18:36:07 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-06-04 16:40:29 +0200
commitfd40040bf5d3923c3c72b1988f4f9a6c91f82348 (patch)
tree1feec152c90d6c5c21f59bd599f48edca23bf432 /internal/server
parent67fbe2da4b537e857067d41c768b7aa735232660 (diff)
Server: Fix comment regarding profiles
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 2148f85..eac1c2a 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -83,7 +83,7 @@ func (s *Server) findProfile(ctx context.Context) (*profiles.Profile, error) {
n := prfs.Len()
switch n {
- // If we now get no profiles then that means a profile with only WireGuard was removed
+ // no profiles available
case 0:
return nil, errors.New("the server has no available profiles for your account")
case 1: