diff --git a/cmd/podman/artifact/push.go b/cmd/podman/artifact/push.go index 3f4e3bd404..9806df8821 100644 --- a/cmd/podman/artifact/push.go +++ b/cmd/podman/artifact/push.go @@ -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() diff --git a/libpod/container_path_resolution.go b/libpod/container_path_resolution.go index acf45fa76d..cba9266e3e 100644 --- a/libpod/container_path_resolution.go +++ b/libpod/container_path_resolution.go @@ -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) diff --git a/libpod/events.go b/libpod/events.go index 157c5c497d..f882ce12d8 100644 --- a/libpod/events.go +++ b/libpod/events.go @@ -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 diff --git a/libpod/events/filters.go b/libpod/events/filters.go index 4581c92c86..008d1640df 100644 --- a/libpod/events/filters.go +++ b/libpod/events/filters.go @@ -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) {