mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #1616 from chchliang/testnetwork
print name and id infomation when has active endpoints
This commit is contained in:
@@ -129,7 +129,7 @@ type ActiveEndpointsError struct {
|
||||
}
|
||||
|
||||
func (aee *ActiveEndpointsError) Error() string {
|
||||
return fmt.Sprintf("network %s has active endpoints", aee.name)
|
||||
return fmt.Sprintf("network %s id %s has active endpoints", aee.name, aee.id)
|
||||
}
|
||||
|
||||
// Forbidden denotes the type of this error
|
||||
|
||||
Reference in New Issue
Block a user