Merge pull request #22715 from rhatdan/volumes1

Return StatusNotFound when multiple volumes matching occurs
This commit is contained in:
openshift-merge-bot[bot]
2024-05-16 12:52:56 +00:00
committed by GitHub
2 changed files with 11 additions and 9 deletions

View File

@@ -105,10 +105,6 @@ var _ = Describe("Podman volume rm", func() {
// boltdb issues volume name in quotes
expect = `more than one result for volume name "myv": volume already exists`
}
if IsRemote() {
// FIXME: #22616
expect = `unmarshalling error into &errorhandling.ErrorModel`
}
Expect(session).To(ExitWithError(125, expect))
session = podmanTest.Podman([]string{"volume", "ls"})