Skip to content

Commit ec7b50d

Browse files
authored
Merge pull request #599 from jsoref/spelling
Spelling
2 parents fcb8af0 + 29ff622 commit ec7b50d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

cmd/limactl/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func loadOrCreateInstance(cmd *cobra.Command, args []string) (*store.Instance, e
123123
// the full path of the socket name must be less than UNIX_PATH_MAX chars.
124124
maxSockName := filepath.Join(instDir, filenames.LongestSock)
125125
if len(maxSockName) >= osutil.UnixPathMax {
126-
return nil, fmt.Errorf("instance name %q too long: %q must be less than UNIX_PATH_MAX=%d characers, but is %d",
126+
return nil, fmt.Errorf("instance name %q too long: %q must be less than UNIX_PATH_MAX=%d characters, but is %d",
127127
instName, maxSockName, osutil.UnixPathMax, len(maxSockName))
128128
}
129129
if _, err := os.Stat(instDir); !errors.Is(err, os.ErrNotExist) {

docs/multi-arch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Consider using [Fast mode](#fast-mode) whenever possible.
3030
3131
## [Fast mode: Intel containers on ARM VM on ARM Host / ARM containers on Intel VM on Intel Host](#fast-mode)
3232
33-
This mode is significantly faster but often sacrifies compatibility.
33+
This mode is significantly faster but often sacrifices compatibility.
3434
3535
Fast mode requires Lima v0.7.3 (nerdctl v0.13.0) or later.
3636

hack/test-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ case "$NAME" in
5858
exit 1
5959
;;
6060
"fedora")
61-
WARNING "Relaxing systemd tests for fedora (For avoiding CI faillure)"
61+
WARNING "Relaxing systemd tests for fedora (For avoiding CI failure)"
6262
# CI failure:
6363
# ● run-r2b459797f5b04262bfa79984077a65c7.service loaded failed failed /usr/bin/systemctl start man-db-cache-update
6464
CHECKS["systemd-strict"]=

pkg/limayaml/default.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ hostResolver:
276276

277277
# On each instance start the config settings are determined: If a value is
278278
# not set in `lima.yaml`, then the `default.yaml` is used. If that file
279-
# doesn't exist, or the value is not defined in the file, then the buildin
279+
# doesn't exist, or the value is not defined in the file, then the builtin
280280
# default is used. If `override.yaml` exists and defines the value, then
281-
# it overrides whatever has been choosen so far.
281+
# it overrides whatever has been chosen so far.
282282

283283
# For slices (e.g. `mounts`, `provision`) and maps (`env`) the entries are
284284
# combined instead of replacing each other. Slices are produced from override

pkg/limayaml/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func Validate(y LimaYAML, warn bool) error {
184184
}
185185
}
186186
if len(rule.HostSocket) >= osutil.UnixPathMax {
187-
return fmt.Errorf("field `%s.hostSocket` must be less than UNIX_PATH_MAX=%d characers, but is %d",
187+
return fmt.Errorf("field `%s.hostSocket` must be less than UNIX_PATH_MAX=%d characters, but is %d",
188188
field, osutil.UnixPathMax, len(rule.HostSocket))
189189
}
190190
if rule.Proto != TCP {

pkg/sshutil/sshutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ func SSHOpts(instDir string, useDotSSH, forwardAgent bool) ([]string, error) {
227227
}
228228

229229
// SSHArgsFromOpts returns ssh args from opts.
230-
// The result always contains {"-F", "/dev/null} in additon to {"-o", "KEY=VALUE", ...}.
230+
// The result always contains {"-F", "/dev/null} in addition to {"-o", "KEY=VALUE", ...}.
231231
func SSHArgsFromOpts(opts []string) []string {
232232
args := []string{"-F", "/dev/null"}
233233
for _, o := range opts {

0 commit comments

Comments
 (0)