diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-01-08 09:06:52 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-01-11 06:32:19 -0500 |
commit | 4093b2c0111369f9590d803c53a40b79ae2fd1dd (patch) | |
tree | e58afcb19ad4b1824e190e368d23630e55e1fd7d /pkg/adapter | |
parent | 0e9c208d3f9fc6f160f7e7746119ddf99ae6f220 (diff) | |
download | podman-4093b2c0111369f9590d803c53a40b79ae2fd1dd.tar.gz podman-4093b2c0111369f9590d803c53a40b79ae2fd1dd.tar.bz2 podman-4093b2c0111369f9590d803c53a40b79ae2fd1dd.zip |
Add codespell to validate spelling mistakes in code.
Fix all errors found by codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/adapter')
-rw-r--r-- | pkg/adapter/containers.go | 2 | ||||
-rw-r--r-- | pkg/adapter/runtime.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go index 3334e9fa1..fe7e0e521 100644 --- a/pkg/adapter/containers.go +++ b/pkg/adapter/containers.go @@ -375,7 +375,7 @@ func (r *LocalRuntime) selectDetachKeys(flagValue string) (string, error) { config, err := r.GetConfig() if err != nil { - return "", errors.Wrapf(err, "unable to retrive runtime config") + return "", errors.Wrapf(err, "unable to retrieve runtime config") } if config.DetachKeys != "" { return config.DetachKeys, nil diff --git a/pkg/adapter/runtime.go b/pkg/adapter/runtime.go index 5f880e807..121f85755 100644 --- a/pkg/adapter/runtime.go +++ b/pkg/adapter/runtime.go @@ -59,7 +59,7 @@ type Volume struct { // VolumeFilter is for filtering volumes on the client type VolumeFilter func(*Volume) bool -// GetRuntimeNoStore returns a localruntime struct wit an embedded runtime but +// GetRuntimeNoStore returns a localruntime struct with an embedded runtime but // without a configured storage. func GetRuntimeNoStore(ctx context.Context, c *cliconfig.PodmanCommand) (*LocalRuntime, error) { runtime, err := libpodruntime.GetRuntimeNoStore(ctx, c) |