mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
print name and id infomation when has active endpoints
Signed-off-by: chchliang <chen.chuanliang@zte.com.cn>
This commit is contained in:
parent
b670a16ba7
commit
6e31451d16
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue