diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-10 10:17:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 10:17:57 -0500 |
commit | c4a9aa7c73e120fc2e246f056fec83ff35854dba (patch) | |
tree | b68b3af194f296edad1931e108b91c722baa3224 /pkg/bindings/test/networks_test.go | |
parent | ec889c819a5ae514e80eca1d2c032d9b95a01651 (diff) | |
parent | 71d1514490e9366646bb28fa151c6b6c8f5745dd (diff) | |
download | podman-c4a9aa7c73e120fc2e246f056fec83ff35854dba.tar.gz podman-c4a9aa7c73e120fc2e246f056fec83ff35854dba.tar.bz2 podman-c4a9aa7c73e120fc2e246f056fec83ff35854dba.zip |
Merge pull request #13195 from jwhonce/wip/network_version_4.0
[4.0] Add version guard to libpod API endpoints
Diffstat (limited to 'pkg/bindings/test/networks_test.go')
-rw-r--r-- | pkg/bindings/test/networks_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/networks_test.go b/pkg/bindings/test/networks_test.go index ee2d6f472..137db71a3 100644 --- a/pkg/bindings/test/networks_test.go +++ b/pkg/bindings/test/networks_test.go @@ -80,7 +80,7 @@ var _ = Describe("Podman networks", func() { // Valid filter params => network should be pruned now. filters = map[string][]string{ - "until": {"5000000000"}, //June 11, 2128 + "until": {"5000000000"}, // June 11, 2128 } pruneResponse, err = network.Prune(connText, new(network.PruneOptions).WithFilters(filters)) Expect(err).To(BeNil()) @@ -105,7 +105,7 @@ var _ = Describe("Podman networks", func() { _, err = network.Create(connText, &net) Expect(err).ToNot(BeNil()) code, _ := bindings.CheckResponseCode(err) - Expect(code).To(BeNumerically("==", http.StatusInternalServerError)) + Expect(code).To(BeNumerically("==", http.StatusConflict)) }) It("inspect network", func() { |