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 )