mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
chore: fix some function names in comment
Signed-off-by: solunolab <solunolab@outlook.com>
This commit is contained in:
parent
138879058b
commit
cba51d1de4
4 changed files with 4 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ func init() {
|
|||
pushFlags(pushCmd)
|
||||
}
|
||||
|
||||
// pullFlags set the flags for the pull command.
|
||||
// pushFlags sets the flags for the push command.
|
||||
func pushFlags(cmd *cobra.Command) {
|
||||
flags := cmd.Flags()
|
||||
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ func findBindMount(c *Container, containerPath string) *specs.Mount {
|
|||
return nil
|
||||
}
|
||||
|
||||
// / isPathOnMount returns true if the specified containerPath is a subdir of any
|
||||
// isPathOnMount returns true if the specified containerPath is a subdir of any
|
||||
// Mount's destination.
|
||||
func isPathOnMount(c *Container, containerPath string) bool {
|
||||
cleanedContainerPath := filepath.Clean(containerPath)
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ func (c *Container) newExecDiedEvent(sessionID string, exitCode int) {
|
|||
}
|
||||
}
|
||||
|
||||
// newNetworkEvent creates a new event based on a network create/remove
|
||||
// NewNetworkEvent creates a new event based on a network create/remove
|
||||
func (r *Runtime) NewNetworkEvent(status events.Status, netName, netID, netDriver string) {
|
||||
e := events.NewEvent(status)
|
||||
e.Network = netName
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ func applyFilters(event *Event, filterMap map[string][]EventFilter) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// generateEventFilter parses the specified filters into a filter map that can
|
||||
// generateEventFilters parses the specified filters into a filter map that can
|
||||
// later on be used to filter events. Keys are conjunctive, values are
|
||||
// disjunctive.
|
||||
func generateEventFilters(filters []string, since, until string) (map[string][]EventFilter, error) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue