mirror of
https://github.com/containers/podman.git
synced 2025-10-29 17:06:22 +08:00
chore: fix function names in comment
Signed-off-by: findnature <cricis@aliyun.com>
This commit is contained in:
@ -557,7 +557,7 @@ func WithShmDir(dir string) CtrCreateOption {
|
||||
}
|
||||
}
|
||||
|
||||
// WithNOShmMount tells libpod whether to mount /dev/shm
|
||||
// WithNoShm tells libpod whether to mount /dev/shm
|
||||
func WithNoShm(mount bool) CtrCreateOption {
|
||||
return func(ctr *Container) error {
|
||||
if ctr.valid {
|
||||
|
||||
@ -105,7 +105,7 @@ func (r *Runtime) IsExternalContainerCallback(_ context.Context) libimage.IsExte
|
||||
}
|
||||
}
|
||||
|
||||
// newBuildEvent creates a new event based on completion of a built image
|
||||
// newImageBuildCompleteEvent creates a new event based on completion of a built image
|
||||
func (r *Runtime) newImageBuildCompleteEvent(idOrName string) {
|
||||
e := events.NewEvent(events.Build)
|
||||
e.Type = events.Image
|
||||
|
||||
@ -996,7 +996,7 @@ func (s *SQLiteState) GetContainerExitCodeTimeStamp(id string) (*time.Time, erro
|
||||
return &result, nil
|
||||
}
|
||||
|
||||
// PruneExitCodes removes exit codes older than 5 minutes unless the associated
|
||||
// PruneContainerExitCodes removes exit codes older than 5 minutes unless the associated
|
||||
// container still exists.
|
||||
func (s *SQLiteState) PruneContainerExitCodes() (defErr error) {
|
||||
if !s.valid {
|
||||
|
||||
Reference in New Issue
Block a user