From fd40040bf5d3923c3c72b1988f4f9a6c91f82348 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 30 May 2024 18:36:07 +0200 Subject: Server: Fix comment regarding profiles --- internal/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/server') 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: -- cgit v1.2.3