Merge pull request #1616 from chchliang/testnetwork
print name and id infomation when has active endpoints
This commit is contained in:
commit
cb09a3770a
2
error.go
2
error.go
|
@ -129,7 +129,7 @@ type ActiveEndpointsError struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (aee *ActiveEndpointsError) Error() string {
|
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
|
// Forbidden denotes the type of this error
|
||||||
|
|
Loading…
Reference in New Issue