mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +08:00
libpod: switch to golang native error wrapping
We now use the golang error wrapping format specifier `%w` instead of the deprecated github.com/pkg/errors package. [NO NEW TESTS NEEDED] Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
@ -560,7 +560,7 @@ var _ = Describe("Podman create", func() {
|
||||
session = podmanTest.Podman([]string{"create", "--umask", "9999", "--name", "bad", ALPINE})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).To(ExitWithError())
|
||||
Expect(session.ErrorToString()).To(ContainSubstring("Invalid umask"))
|
||||
Expect(session.ErrorToString()).To(ContainSubstring("invalid umask"))
|
||||
})
|
||||
|
||||
It("create container in pod with IP should fail", func() {
|
||||
|
@ -1659,7 +1659,7 @@ USER mail`, BB)
|
||||
session = podmanTest.Podman([]string{"run", "--umask", "9999", "--rm", ALPINE, "sh", "-c", "umask"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).To(ExitWithError())
|
||||
Expect(session.ErrorToString()).To(ContainSubstring("Invalid umask"))
|
||||
Expect(session.ErrorToString()).To(ContainSubstring("invalid umask"))
|
||||
})
|
||||
|
||||
It("podman run makes workdir from image", func() {
|
||||
|
Reference in New Issue
Block a user