mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Add Compat API for Update
The Docker endpoint here is kind of a nightmare - accepts a full Resources block, including a large number of scary things like devices. But it only documents (and seems to use) a small subset of those. This implements support for that subset. We can always extend things to implement more later if we have a need. Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -284,7 +284,7 @@ var _ = Describe("Podman update", func() {
|
||||
Expect(inspect4.OutputToString()).To(Equal("536870912"))
|
||||
|
||||
exec4 := podmanTest.Podman([]string{"exec", testCtr, "cat", "/sys/fs/cgroup/memory.max"})
|
||||
exec3.WaitWithDefaultTimeout()
|
||||
exec4.WaitWithDefaultTimeout()
|
||||
Expect(exec4).Should(ExitCleanly())
|
||||
Expect(exec4.OutputToString()).Should(ContainSubstring("536870912"))
|
||||
})
|
||||
|
Reference in New Issue
Block a user