Run codespell on code

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2022-11-28 12:01:03 -05:00
parent 935c8eb5ca
commit f17479c711
6 changed files with 8 additions and 8 deletions

View File

@ -402,7 +402,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
// Docker's newer clients popuates `cacheFrom` and `cacheTo` parameter
// by default as empty array for all commands but buildah's design of
// distributed cache expects this to be a repo not image hence parse
// only the first populated repo and igore if empty array.
// only the first populated repo and ignore if empty array.
// Read more here: https://github.com/containers/podman/issues/15928
// TODO: Remove this when buildah's API is extended.
compatIgnoreForcedCacheOptions := func(queryStr string) string {

View File

@ -246,7 +246,7 @@ func ConfDirPrefix() (string, error) {
// will not delete certain catastrophic paths.
func GuardedRemoveAll(path string) error {
if path == "" || path == "/" {
return fmt.Errorf("refusing to recusively delete `%s`", path)
return fmt.Errorf("refusing to recursively delete `%s`", path)
}
return os.RemoveAll(path)
}