Skip to content

Commit

Permalink
Add/fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasaschan committed May 3, 2024
1 parent 4cbd6c4 commit 3006cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/envtest/setup/setup-envtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func Use(ctx context.Context, version string, options ...use.Option) (use.Result
return use.Use(ctx, spec, options...)
}

// Cleanup implements the cleanup workflow for removing versions of the environment.
func Cleanup(ctx context.Context, version string, options ...cleanup.Option) (cleanup.Result, error) {
spec, err := readSpec(version)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion tools/setup-envtest/env/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (PrintFormat) Type() string {
return "{overview|path|env}"
}

// Sprint returns the string to be printed
// Sprintf returns the string to be printed
func (f PrintFormat) Sprintf(out io.Writer, version versions.Concrete, platform versions.Platform, md5 string, path string) (err error) {
switch f {
case PrintOverview:
Expand Down

0 comments on commit 3006cda

Please sign in to comment.