aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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