mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
generate systemd: rename "cid" to "ctr-id"
Rename the container ID file from "cid" to "ctr-id" to make the generated unit files a) easier to read and to b) pro-actively avoid any confusion when pod ID files are being added in the future. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -191,7 +191,7 @@ var _ = Describe("Podman generate systemd", func() {
|
||||
found, _ := session.GrepString("# container-foo.service")
|
||||
Expect(found).To(BeTrue())
|
||||
|
||||
found, _ = session.GrepString("stop --ignore --cidfile %t/%n-cid -t 42")
|
||||
found, _ = session.GrepString("stop --ignore --cidfile %t/%n-ctr-id -t 42")
|
||||
Expect(found).To(BeTrue())
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user