Merge pull request #1523 from yuexiao-wang/fix-typos
Fix some typos about error
This commit is contained in:
commit
80ad2406c9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue