Skip to content

Commit

Permalink
tbs: "weed out" -> "catch"
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Preminger committed Sep 18, 2023
1 parent 1781b79 commit 5666227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/util/fs/fuse/fuse_mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (i ImageMount) generateMountOpts() ([]string, error) {
opts := []string{"uid=0", "gid=0"}

// Create a map of the extra mount options that have been requested, so we
// can weed out attempts to overwrite builtin struct fields.
// can catch attempts to overwrite builtin struct fields.
extraOptsMap := lo.SliceToMap(i.ExtraOpts, func(s string) (string, *string) {
splitted := strings.SplitN(s, "=", 2)
if len(splitted) < 2 {
Expand Down

0 comments on commit 5666227

Please sign in to comment.