From 6e31451d164e5054b22252d88057421f4efb1a4d Mon Sep 17 00:00:00 2001 From: chchliang Date: Wed, 11 Jan 2017 17:19:06 +0800 Subject: [PATCH] print name and id infomation when has active endpoints Signed-off-by: chchliang --- libnetwork/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnetwork/error.go b/libnetwork/error.go index c0054ce70c..fa71d80b6e 100644 --- a/libnetwork/error.go +++ b/libnetwork/error.go @@ -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