aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-14 08:31:07 -0500
committerGitHub <noreply@github.com>2022-09-14 06:31:07 -0700
commitc9f573eed8996af52ee4c88cfac9a4efd0501c08 (patch)
treebb0ed969ef9149f8514126480ca09abcbd8a6763
parent2c92a9ff7477705066d1f66cf9d8ab057e164f50 (diff)
downloadseaweedfs-c9f573eed8996af52ee4c88cfac9a4efd0501c08.tar.xz
seaweedfs-c9f573eed8996af52ee4c88cfac9a4efd0501c08.zip
docs: `indicates` readability comment fix (#3659)
-rw-r--r--weed/wdclient/net2/managed_connection.go2
-rw-r--r--weed/wdclient/resource_pool/managed_handle.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/wdclient/net2/managed_connection.go b/weed/wdclient/net2/managed_connection.go
index b40d378d2..ab92c3fd1 100644
--- a/weed/wdclient/net2/managed_connection.go
+++ b/weed/wdclient/net2/managed_connection.go
@@ -31,7 +31,7 @@ type ManagedConn interface {
// This returns the connection pool which owns this connection.
Owner() ConnectionPool
- // This indictes a user is done with the connection and releases the
+ // This indicates a user is done with the connection and releases the
// connection back to the connection pool.
ReleaseConnection() error
diff --git a/weed/wdclient/resource_pool/managed_handle.go b/weed/wdclient/resource_pool/managed_handle.go
index e1d82ca7b..936c2d7c3 100644
--- a/weed/wdclient/resource_pool/managed_handle.go
+++ b/weed/wdclient/resource_pool/managed_handle.go
@@ -24,7 +24,7 @@ type ManagedHandle interface {
// owns the resource.
ReleaseUnderlyingHandle() interface{}
- // This indictes a user is done with the handle and releases the handle
+ // This indicates a user is done with the handle and releases the handle
// back to the resource pool.
Release() error