Skip to content

Commit 3397634

Browse files
committed
fix: Use correct id to include code snippet in docs
1 parent 04c7e9e commit 3397634

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/modules/qdrant.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Make sure the underlying Qdrant HTTP or gRPC client adds the API key to the HTTP
4444

4545
## Configure TLS
4646

47-
The following example generates a self-signed certificate and configures the Testcontainers module to use TLS with the certificate and private key:
47+
The following example generates a self-signed certificate and configures the module to use TLS with the certificate and private key:
4848

4949
=== "Configure the TLS certificate"
5050
```csharp
@@ -61,10 +61,10 @@ The Qdrant client is configured to validate the TLS certificate using its thumbp
6161

6262
## A Note To Developers
6363

64-
The Testcontainers module creates a container that listens to requests over **HTTP**. The official Qdrant client uses the gRPC APIs to communicate with Qdrant. **.NET Core** and **.NET** support the above example with no additional configuration. However, **.NET Framework** has limited supported for gRPC over HTTP/2, but it can be enabled by:
64+
The module creates a container that listens to requests over **HTTP**. The official Qdrant client uses the gRPC APIs to communicate with Qdrant. **.NET Core** and **.NET** support the above example with no additional configuration. However, **.NET Framework** has limited supported for gRPC over HTTP/2, but it can be enabled by:
6565

66-
1. Configuring the Testcontainers module to use TLS.
66+
1. Configuring the module to use TLS.
6767
1. Configuring server certificate validation.
6868
1. Reference [`System.Net.Http.WinHttpHandler`](https://www.nuget.org/packages/System.Net.Http.WinHttpHandler) version `6.0.1` or later, and configure `WinHttpHandler` as the handler for `GrpcChannelOptions` in the Qdrant client.
6969

70-
Refer to the [official Qdrant .NET SDK](https://github.com/qdrant/qdrant-dotnet) for more information.
70+
Refer to the official [Qdrant .NET SDK](https://github.com/qdrant/qdrant-dotnet) for more information.

tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public async Task HealthReturnsValidResponse()
5858
using var grpcClient = new QdrantGrpcClient(grpcChannel);
5959

6060
using var client = new QdrantClient(grpcClient);
61-
// # --8<-- [start:ConfigureQdrantClientCertificate-2]
61+
// # --8<-- [end:ConfigureQdrantClientCertificate-2]
6262

6363
// When
6464
var response = await client.HealthAsync()

0 commit comments

Comments
 (0)