From 31393d8801bbb9358cdead8fc88898e6e7944c6e Mon Sep 17 00:00:00 2001 From: godchen Date: Sat, 23 Oct 2021 16:57:35 +0800 Subject: [PATCH] [skip ci]Fix datanode comment typo error (#10502) Signed-off-by: godchen --- internal/datanode/data_node.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/datanode/data_node.go b/internal/datanode/data_node.go index ef2cef13b4..2405cfdb15 100644 --- a/internal/datanode/data_node.go +++ b/internal/datanode/data_node.go @@ -56,16 +56,16 @@ import ( ) const ( - // RPCConnectionTimeout used to set the timeout for rpc request + // RPCConnectionTimeout is used to set the timeout for rpc request RPCConnectionTimeout = 30 * time.Second - // MetricRequestsTotal used to count the num of total requests + // MetricRequestsTotal is used to count the num of total requests MetricRequestsTotal = "total" - // MetricRequestsSuccess used to count the num of successful requests + // MetricRequestsSuccess is used to count the num of successful requests MetricRequestsSuccess = "success" - // ConnectEtcdMaxRetryTime used to limit the max retry time for connection etcd + // ConnectEtcdMaxRetryTime is used to limit the max retry time for connection etcd ConnectEtcdMaxRetryTime = 1000 )