Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sosedoff committed Nov 1, 2023
1 parent dfe62bb commit 84fe487
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,9 @@ func openPage() {
}
}

// testWithRetry attempts to establish a database connection until it succeeds or
// give up after certain number of retries.
// testClient attempts to establish a database connection until it succeeds or
// give up after certain number of retries. Retries only available when database
// name or a connection string is provided.
func testClient(cl *client.Client, retryCount int, retryDelay time.Duration) (abort bool, err error) {
usingDefaultDB := command.Opts.DbName == "" && command.Opts.URL == ""

Expand Down

0 comments on commit 84fe487

Please sign in to comment.