Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyasdf committed Jul 3, 2023
1 parent c0afb56 commit 6e48fb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/sync/destination.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ImageDestination struct {
tag string
}

// NewImageDestination generates a ImageDestination by repository, the repository string must include "tag".
// NewImageDestination generates an ImageDestination by repository, the repository string must include "tag".
// If username or password is empty, access to repository will be anonymous.
func NewImageDestination(registry, repository, tag, username, password string, insecure bool) (*ImageDestination, error) {
if utils.CheckIfIncludeTag(repository) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/sync/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
NoCache = none.NoCache
)

// Task act as a sync action, it will pull a images from source to destination
// Task act as a sync action, it will pull images from source to destination
type Task struct {
source *ImageSource
destination *ImageDestination
Expand Down

0 comments on commit 6e48fb8

Please sign in to comment.