Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

fix some typo #3257

Merged
merged 1 commit into from
Aug 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func (e *Event) UnmarshalJSON(in []byte) error {
// of Event is always a pointer, so that consumers can cast without being
// concerned about encountering a value type instead. It works by virtue of the
// fact that the method is only defined for pointer receivers; the actual
// method chosen is entirely arbitary.
// method chosen is entirely arbitrary.
type EventMetadata interface {
Type() string
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/gpg/gpg.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// the current user's keyring. A path to a directory or a file may be
// provided. If the path is a directory, regular files in the
// directory will be imported, but not subdirectories (i.e., no
// recursion). It returns the basenames of the succesfully imported
// recursion). It returns the basenames of the successfully imported
// keys.
func ImportKeys(src string, trustImportedKeys bool) ([]string, error) {
info, err := os.Stat(src)
Expand Down
2 changes: 1 addition & 1 deletion pkg/registry/cache/repocachemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type fetchImagesResult struct {
imagesToUpdateMissingCount int // number of imagesToUpdate which need updating due to being missing
}

// fetchImages attemps to fetch the images with the provided tags from the cache.
// fetchImages attempts to fetch the images with the provided tags from the cache.
// It returns the images found, those which require updating and details about
// why they need to be updated.
func (c *repoCacheManager) fetchImages(tags []string) (fetchImagesResult, error) {
Expand Down