Fix spelling mistakes using codespell
https://github.com/containers/toolbox/pull/1166 https://github.com/containers/toolbox/pull/1149 Signed-off-by: Nieves Montero <nmontero@redhat.com>
This commit is contained in:
parent
ed9f8cd0d9
commit
f2b7e440e1
6 changed files with 6 additions and 6 deletions
|
@ -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.
|
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
|
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
|
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
|
- 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/)
|
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.
|
hosted by Fedora. It's not very large and could use some attention.
|
||||||
|
|
|
@ -20,7 +20,7 @@ The following options are understood:
|
||||||
|
|
||||||
**--all, -a**
|
**--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.
|
well.
|
||||||
|
|
||||||
**--force, -f**
|
**--force, -f**
|
||||||
|
|
|
@ -20,7 +20,7 @@ The following options are understood:
|
||||||
|
|
||||||
**--all, -a**
|
**--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**
|
**--force, -f**
|
||||||
|
|
||||||
|
|
|
@ -272,7 +272,7 @@ func initContainer(cmd *cobra.Command, args []string) error {
|
||||||
if err := ioutil.WriteFile("/etc/krb5.conf.d/kcm_default_ccache",
|
if err := ioutil.WriteFile("/etc/krb5.conf.d/kcm_default_ccache",
|
||||||
kcmConfigBytes,
|
kcmConfigBytes,
|
||||||
0644); err != nil {
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ teardown() {
|
||||||
assert_line --index 1 "Run 'toolbox --help' for usage."
|
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
|
create_container other-container
|
||||||
|
|
||||||
run $TOOLBOX enter wrong-container
|
run $TOOLBOX enter wrong-container
|
||||||
|
|
|
@ -70,7 +70,7 @@ function _clean_temporary_storage() {
|
||||||
# - distro - os-release field ID (e.g., fedora, rhel)
|
# - distro - os-release field ID (e.g., fedora, rhel)
|
||||||
# - version - os-release field VERSION_ID (e.g., 33, 34, 8.4)
|
# - 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.
|
# tests.
|
||||||
function _pull_and_cache_distro_image() {
|
function _pull_and_cache_distro_image() {
|
||||||
local num_of_retries=5
|
local num_of_retries=5
|
||||||
|
|
Loading…
Reference in a new issue