Skip to content

Commit bdef91f

Browse files
committed
fix: gofmt
Signed-off-by: sivchari <shibuuuu5@gmail.com>
1 parent 7f25ece commit bdef91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/setup-envtest/store/store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (s *Store) Add(ctx context.Context, item Item, contents io.Reader) (resErr
167167
// preferfing our own scheme.
168168
targetPath := filepath.Base(header.Name)
169169
log.V(1).Info("writing archive file to disk", "archive file", header.Name, "on-disk file", targetPath)
170-
perms := 0555 & header.Mode // make sure we're at most r+x
170+
perms := 0555 & header.Mode // Make sure we're at most r+x
171171
binOut, err := itemPath.OpenFile(targetPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, os.FileMode(perms)) //nolint:gosec // We don't care about G115.
172172
if err != nil {
173173
return fmt.Errorf("unable to create file %s from archive to disk for version-platform pair %s", targetPath, itemName)

0 commit comments

Comments
 (0)