Skip to content

Commit

Permalink
[Serverless Search] Getting Started - Fix .NET code snippet (#171388)
Browse files Browse the repository at this point in the history
Fixes the "Getting Started" code snippet for the .NET serverless client.
  • Loading branch information
flobernd authored Nov 21, 2023
1 parent 07df596 commit 5cbc93c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const dotnetDefinition: LanguageDefinition = {
installClient: 'dotnet add package Elastic.Clients.Elasticsearch.Serverless',
configureClient: ({ apiKey, cloudId }) => `using System;
using Elastic.Clients.Elasticsearch.Serverless;
using Elastic.Clients.Elasticsearch.QueryDsl;
using Elastic.Clients.Elasticsearch.Serverless.QueryDsl;
var client = new ElasticsearchClient("${cloudId}", new ApiKey("${apiKey}"));`,
testConnection: `var info = await client.InfoAsync();`,
Expand Down

0 comments on commit 5cbc93c

Please sign in to comment.