From e35c943b62a8f44cccb2bea7249245e65372aa64 Mon Sep 17 00:00:00 2001 From: Hyzhou <1187766782@qq.com> Date: Sat, 7 Nov 2015 17:28:23 +0800 Subject: [PATCH] Update dockerclient.go Fix Bug, The url is incorrect. --- dockerclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerclient.go b/dockerclient.go index d8379fb..562b625 100644 --- a/dockerclient.go +++ b/dockerclient.go @@ -857,7 +857,7 @@ func (client *DockerClient) ListNetworks(filters string) ([]*NetworkResource, er uri := fmt.Sprintf("/%s/networks", APIVersion) if filters != "" { - uri += "&filters=" + filters + uri += "?filters=" + filters } data, err := client.doRequest("GET", uri, nil, nil)