Browse Source

Merge pull request #1523 from yuexiao-wang/fix-typos

Fix some typos about error
Jana Radhakrishnan 8 năm trước cách đây
mục cha
commit
80ad2406c9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      libnetwork/error.go

+ 2 - 2
libnetwork/error.go

@@ -107,7 +107,7 @@ func (nnr NetworkNameError) Error() string {
 // Forbidden denotes the type of this error
 func (nnr NetworkNameError) Forbidden() {}
 
-// UnknownNetworkError is returned when libnetwork could not find in it's database
+// UnknownNetworkError is returned when libnetwork could not find in its database
 // a network with the same name and id.
 type UnknownNetworkError struct {
 	name string
@@ -135,7 +135,7 @@ func (aee *ActiveEndpointsError) Error() string {
 // Forbidden denotes the type of this error
 func (aee *ActiveEndpointsError) Forbidden() {}
 
-// UnknownEndpointError is returned when libnetwork could not find in it's database
+// UnknownEndpointError is returned when libnetwork could not find in its database
 // an endpoint with the same name and id.
 type UnknownEndpointError struct {
 	name string