{"action":"opened","issue":{"url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/524","repository_url":"https://api.github.com/repos/fsouza/go-dockerclient","labels_url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/524/comments","events_url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/524/events","html_url":"https://github.com/fsouza/go-dockerclient/issues/524","id":157417035,"number":524,"title":"FilterListNetworks get api 400 error","user":{"login":"wangweihong","id":18753267,"avatar_url":"https://avatars.githubusercontent.com/u/18753267?v=3","gravatar_id":"","url":"https://api.github.com/users/wangweihong","html_url":"https://github.com/wangweihong","followers_url":"https://api.github.com/users/wangweihong/followers","following_url":"https://api.github.com/users/wangweihong/following{/other_user}","gists_url":"https://api.github.com/users/wangweihong/gists{/gist_id}","starred_url":"https://api.github.com/users/wangweihong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangweihong/subscriptions","organizations_url":"https://api.github.com/users/wangweihong/orgs","repos_url":"https://api.github.com/users/wangweihong/repos","events_url":"https://api.github.com/users/wangweihong/events{/privacy}","received_events_url":"https://api.github.com/users/wangweihong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-30T01:31:06Z","updated_at":"2016-05-30T01:31:06Z","closed_at":null,"body":"When I call NetworkFilterOpts for fliter those Network \"name=bridge\" or \"type=builtin\", it always return api 400 error to me.But  I can get right information by calling function \"ListNetworks\". This is my code which is copied from network_test.go :\r\n    _opts := dockerClient.NetworkFilterOpts{\r\n        \"name\": map[string]bool{\"bridge\": true},\r\n        //\"type\": map[string]bool{\"builtin\": true},\r\n    }   \r\n    networks, err := client.FilteredListNetworks(opts)\r\n    if err != nil {\r\n        log.Fatal(err)\r\n    }_   \r\n\r\nThis is my docker environment:\r\n_[root@bogon dockerNet]# docker version\r\nClient:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   5604cbe\r\n Built:        Wed Apr 27 00:34:42 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   5604cbe\r\n Built:        Wed Apr 27 00:34:42 2016\r\n OS/Arch:      linux/amd64_\r\n\r\nDid I miss something?"}}
{"actor":{"display_login":"wangweihong"}}