diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-13 10:14:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 10:14:09 -0700 |
commit | 1fa664166571ab7dd3abe1b0d64ae9a81a8688ae (patch) | |
tree | fc6b218409181bbe49c7c315bcba16ab160d49f4 /vendor/github.com/fsouza/go-dockerclient/network.go | |
parent | 8b3f759800ebd6e53e0a807728ede633aa9bdb36 (diff) | |
parent | 8f418f1568b2735fdeea9a84afc354e1f8cbc94c (diff) | |
download | podman-1fa664166571ab7dd3abe1b0d64ae9a81a8688ae.tar.gz podman-1fa664166571ab7dd3abe1b0d64ae9a81a8688ae.tar.bz2 podman-1fa664166571ab7dd3abe1b0d64ae9a81a8688ae.zip |
Merge pull request #2628 from TomSweeneyRedHat/dev/tsweeney/bigvendorbuildah2
Vendor docker/docker, fsouza and more #2
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/network.go')
-rw-r--r-- | vendor/github.com/fsouza/go-dockerclient/network.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/network.go b/vendor/github.com/fsouza/go-dockerclient/network.go index c6ddb22c6..8c03b9ae6 100644 --- a/vendor/github.com/fsouza/go-dockerclient/network.go +++ b/vendor/github.com/fsouza/go-dockerclient/network.go @@ -10,6 +10,7 @@ import ( "errors" "fmt" "net/http" + "net/url" ) // ErrNetworkAlreadyExists is the error returned by CreateNetwork when the @@ -71,7 +72,9 @@ func (c *Client) FilteredListNetworks(opts NetworkFilterOpts) ([]Network, error) if err != nil { return nil, err } - path := "/networks?filters=" + string(params) + qs := make(url.Values) + qs.Add("filters", string(params)) + path := "/networks?" + qs.Encode() resp, err := c.do("GET", path, doOptions{}) if err != nil { return nil, err |