Skip to content

Commit 3006cda

Browse files
committed
Add/fix docstrings
1 parent 4cbd6c4 commit 3006cda

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/envtest/setup/setup-envtest.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func Use(ctx context.Context, version string, options ...use.Option) (use.Result
3333
return use.Use(ctx, spec, options...)
3434
}
3535

36+
// Cleanup implements the cleanup workflow for removing versions of the environment.
3637
func Cleanup(ctx context.Context, version string, options ...cleanup.Option) (cleanup.Result, error) {
3738
spec, err := readSpec(version)
3839
if err != nil {

tools/setup-envtest/env/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (PrintFormat) Type() string {
6969
return "{overview|path|env}"
7070
}
7171

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

0 commit comments

Comments
 (0)