mirror of
https://github.com/containers/podman.git
synced 2025-07-02 08:47:43 +08:00
Run codespell on code
[NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -38,7 +38,7 @@ Unmount image with a given ID
|
|||||||
podman image unmount imageID
|
podman image unmount imageID
|
||||||
```
|
```
|
||||||
|
|
||||||
Unmount multiple images wit given IDs
|
Unmount multiple images with given IDs
|
||||||
```
|
```
|
||||||
podman image unmount imageID1 imageID2 imageID3
|
podman image unmount imageID1 imageID2 imageID3
|
||||||
```
|
```
|
||||||
|
@ -346,7 +346,7 @@ func FinishThrottleDevices(s *specgen.SpecGenerator) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an exisiting container
|
// ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an existing container
|
||||||
func ConfigToSpec(rt *libpod.Runtime, specg *specgen.SpecGenerator, contaierID string) (*libpod.Container, *libpod.InfraInherit, error) {
|
func ConfigToSpec(rt *libpod.Runtime, specg *specgen.SpecGenerator, contaierID string) (*libpod.Container, *libpod.InfraInherit, error) {
|
||||||
c, err := rt.LookupContainer(contaierID)
|
c, err := rt.LookupContainer(contaierID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -293,7 +293,7 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen.
|
|||||||
"/usr/sbin/init": true,
|
"/usr/sbin/init": true,
|
||||||
"/usr/local/sbin/init": true,
|
"/usr/local/sbin/init": true,
|
||||||
}
|
}
|
||||||
// Grab last command incase this is launched from a shell
|
// Grab last command in case this is launched from a shell
|
||||||
cmd := command
|
cmd := command
|
||||||
if len(command) > 2 {
|
if len(command) > 2 {
|
||||||
// Podman build will add "/bin/sh" "-c" to
|
// Podman build will add "/bin/sh" "-c" to
|
||||||
|
@ -172,7 +172,7 @@ EOF
|
|||||||
[engine]
|
[engine]
|
||||||
events_logger="file"
|
events_logger="file"
|
||||||
events_logfile_path="$eventsFile"
|
events_logfile_path="$eventsFile"
|
||||||
# The limit of 4750 is the *exact* half of the inital events file.
|
# The limit of 4750 is the *exact* half of the initial events file.
|
||||||
events_logfile_max_size=4750
|
events_logfile_max_size=4750
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user