Browse code

Merge pull request #1616 from chchliang/testnetwork

print name and id infomation when has active endpoints

Alessandro Boch authored on 2017/04/11 05:54:44
Showing 1 changed files
... ...
@@ -129,7 +129,7 @@ type ActiveEndpointsError struct {
129 129
 }
130 130
 
131 131
 func (aee *ActiveEndpointsError) Error() string {
132
-	return fmt.Sprintf("network %s has active endpoints", aee.name)
132
+	return fmt.Sprintf("network %s id %s has active endpoints", aee.name, aee.id)
133 133
 }
134 134
 
135 135
 // Forbidden denotes the type of this error