From f2b7e440e18cd393ae97fe86c1f6c2f359dd1eac Mon Sep 17 00:00:00 2001 From: Nieves Montero Date: Mon, 24 Oct 2022 13:22:30 +0200 Subject: [PATCH] Fix spelling mistakes using codespell https://github.com/containers/toolbox/pull/1166 https://github.com/containers/toolbox/pull/1149 Signed-off-by: Nieves Montero --- CONTRIBUTING.md | 2 +- doc/toolbox-rm.1.md | 2 +- doc/toolbox-rmi.1.md | 2 +- src/cmd/initContainer.go | 2 +- test/system/105-enter.bats | 2 +- test/system/libs/helpers.bash | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9b78274..a2b9ab3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -92,7 +92,7 @@ Here are some ideas of what you could contribute with: images. Ultimately there should be a wide variety of supported distro images. You can help with testing other people's image definitions or creating your own. **Beware**, maintainers still don't have a clear idea of how the image - infrustructure should look like. + infrastructure should look like. - Write documentation - Some functions in Toolbox's code don't have comments and it's not very clear what they do. Toolbox has it's [documentation](https://docs.fedoraproject.org/en-US/fedora-silverblue/toolbox/) hosted by Fedora. It's not very large and could use some attention. diff --git a/doc/toolbox-rm.1.md b/doc/toolbox-rm.1.md index e1bfc15..0552417 100644 --- a/doc/toolbox-rm.1.md +++ b/doc/toolbox-rm.1.md @@ -20,7 +20,7 @@ The following options are understood: **--all, -a** -Remove all toolbox containers. It can be used in conjuction with `--force` as +Remove all toolbox containers. It can be used in conjunction with `--force` as well. **--force, -f** diff --git a/doc/toolbox-rmi.1.md b/doc/toolbox-rmi.1.md index 88dc885..e173067 100644 --- a/doc/toolbox-rmi.1.md +++ b/doc/toolbox-rmi.1.md @@ -20,7 +20,7 @@ The following options are understood: **--all, -a** -Remove all toolbox images. It can be used in conjuction with `--force` as well. +Remove all toolbox images. It can be used in conjunction with `--force` as well. **--force, -f** diff --git a/src/cmd/initContainer.go b/src/cmd/initContainer.go index 7b35f2d..3ee5675 100644 --- a/src/cmd/initContainer.go +++ b/src/cmd/initContainer.go @@ -272,7 +272,7 @@ func initContainer(cmd *cobra.Command, args []string) error { if err := ioutil.WriteFile("/etc/krb5.conf.d/kcm_default_ccache", kcmConfigBytes, 0644); err != nil { - return errors.New("failed to set KCM as the defult Kerberos credential cache") + return errors.New("failed to set KCM as the default Kerberos credential cache") } } diff --git a/test/system/105-enter.bats b/test/system/105-enter.bats index 788f989..5a8969c 100644 --- a/test/system/105-enter.bats +++ b/test/system/105-enter.bats @@ -43,7 +43,7 @@ teardown() { assert_line --index 1 "Run 'toolbox --help' for usage." } -@test "enter: Try to enter a specifc non-existent container with other containers present" { +@test "enter: Try to enter a specific non-existent container with other containers present" { create_container other-container run $TOOLBOX enter wrong-container diff --git a/test/system/libs/helpers.bash b/test/system/libs/helpers.bash index 94effa8..c3d628f 100644 --- a/test/system/libs/helpers.bash +++ b/test/system/libs/helpers.bash @@ -70,7 +70,7 @@ function _clean_temporary_storage() { # - distro - os-release field ID (e.g., fedora, rhel) # - version - os-release field VERSION_ID (e.g., 33, 34, 8.4) # -# Only use during test suite setup for caching all images to be used throught +# Only use during test suite setup for caching all images to be used throughout # tests. function _pull_and_cache_distro_image() { local num_of_retries=5