From d1c97fdb4a546856f59b541f156af0bd42c95cec Mon Sep 17 00:00:00 2001 From: Yiran Date: Sat, 31 Aug 2024 13:19:39 +0800 Subject: [PATCH] typo --- docs/user-guide/ingest-data/for-iot/grpc-sdks/go.md | 2 +- .../current/user-guide/ingest-data/for-iot/grpc-sdks/go.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/ingest-data/for-iot/grpc-sdks/go.md b/docs/user-guide/ingest-data/for-iot/grpc-sdks/go.md index c596e97b9..15b8a073b 100644 --- a/docs/user-guide/ingest-data/for-iot/grpc-sdks/go.md +++ b/docs/user-guide/ingest-data/for-iot/grpc-sdks/go.md @@ -43,7 +43,7 @@ cfg := greptime.NewConfig("127.0.0.1"). // Enable secure connection if your server is secured by TLS // WithInsecure(false). // set authentication information - // If the database doesn't require authentication, just leave the username and password empty + // If the database doesn't require authentication, just remove the WithAuth method WithAuth("username", "password") cli, _ := greptime.NewClient(cfg) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/ingest-data/for-iot/grpc-sdks/go.md b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/ingest-data/for-iot/grpc-sdks/go.md index dfe7aad06..f808cc882 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/ingest-data/for-iot/grpc-sdks/go.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/ingest-data/for-iot/grpc-sdks/go.md @@ -42,7 +42,7 @@ cfg := greptime.NewConfig("127.0.0.1"). // 如果服务配置了 TLS ,设置 TLS 选项来启用安全连接 // WithInsecure(false). // 设置鉴权信息 - // 如果数据库不需要鉴权,将用户名和密码留空即可 + // 如果数据库不需要鉴权,移除 WithAuth 方法即可 WithAuth("username", "password") cli, _ := greptime.NewClient(cfg)