diff --git a/api/proxy/proxy.go b/api/proxy/proxy.go index 7970a5cd2c..3889e87c6b 100644 --- a/api/proxy/proxy.go +++ b/api/proxy/proxy.go @@ -307,7 +307,7 @@ func (p *ClientProxy) Start() (retErr error) { if p.callerConnectionsCountCh != nil { p.callerConnectionsCountCh <- connsCount } - // If there are no connections and no connections left, + // If there are no connections and no available connections, // we can exit if p.ConnectionsLeft() == 0 && connsCount == 0 { return diff --git a/internal/cmd/commands/connect/connect.go b/internal/cmd/commands/connect/connect.go index ecf10dba14..6158b062e0 100644 --- a/internal/cmd/commands/connect/connect.go +++ b/internal/cmd/commands/connect/connect.go @@ -457,7 +457,7 @@ func (c *Command) Run(args []string) (retCode int) { c.updateConnsLeft(connsLeft, clientProxy.ConnectionsCount()) case connsCount := <-connsCountCh: c.updateConnsLeft(clientProxy.ConnectionsLeft(), connsCount) - // If there are no counts left and there are no connections + // If there are no available connections left and there are no connections // we can exit if clientProxy.ConnectionsLeft() == 0 && connsCount == 0 { return