Skip to content

Commit

Permalink
chore: add reference to ErrTLSNotEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenh committed Nov 8, 2024
1 parent 9a49d25 commit fe00f29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/cockroachdb/cockroachdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func (c *CockroachDBContainer) ConnectionConfig(ctx context.Context) (*pgx.ConnC
}

// TLSConfig returns config necessary to connect to CockroachDB over TLS.
// Returns [ErrTLSNotEnabled] if TLS is not enabled.
//
// Deprecated: use [CockroachDBContainer.ConnectionConfig] or
// [CockroachDBContainer.ConnectionConfig] instead.
Expand Down

0 comments on commit fe00f29

Please sign in to comment.