diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-10 09:09:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 09:09:56 -0500 |
commit | 64a73686b988c18932a49ba633082b147ce48bfd (patch) | |
tree | 466c10176b4075d2c93d7c29a851ad8d393dddb1 /pkg/bindings/test/networks_test.go | |
parent | 0585aaa1f17de1cacc7924926e81733cc027a86f (diff) | |
parent | c4676c571910d8b27ead751e35cbd877db61f8bd (diff) | |
download | podman-64a73686b988c18932a49ba633082b147ce48bfd.tar.gz podman-64a73686b988c18932a49ba633082b147ce48bfd.tar.bz2 podman-64a73686b988c18932a49ba633082b147ce48bfd.zip |
Merge pull request #13189 from jwhonce/wip/network_version
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() { |