Skip to content

Commit

Permalink
fix for lint test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheerkootteeri committed Aug 4, 2022
1 parent aab9bb4 commit 2e32e94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/imgpkg/plainimage/contents.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ type ImagesWriter interface {
WriteTag(ref regname.Tag, taggagle regremote.Taggable) error
}

// NewContents constructor to build a plainimage contents responsible for creating and pushing images,
// by setting displayProgress to 'true' printing out a progress bar using updates when writing to a registry via ggcr
func NewContents(paths []string, excludedPaths []string, displayProgress bool) Contents {
return Contents{paths: paths, excludedPaths: excludedPaths, displayProgress: displayProgress}
}
Expand Down

0 comments on commit 2e32e94

Please sign in to comment.