summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-09 09:52:20 -0500
committerGitHub <noreply@github.com>2020-12-09 09:52:20 -0500
commit49d11b53e1f19f20253801dbd3a905c831251528 (patch)
treecfeb981b6dd32273d06b7f1161b188c0146e6b74 /pkg
parentb875c5c27c503108f1984256833a9a2da4d0c5d1 (diff)
parentbf5d184325114c4ab8a9bd1425e359fccc965fea (diff)
downloadpodman-49d11b53e1f19f20253801dbd3a905c831251528.tar.gz
podman-49d11b53e1f19f20253801dbd3a905c831251528.tar.bz2
podman-49d11b53e1f19f20253801dbd3a905c831251528.zip
Merge pull request #8661 from rhatdan/codespell
Fix spelling mistakes
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/infra/abi/manifest.go2
-rw-r--r--pkg/specgen/generate/kube/volume.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/manifest.go b/pkg/domain/infra/abi/manifest.go
index ad7128b42..600d64b1d 100644
--- a/pkg/domain/infra/abi/manifest.go
+++ b/pkg/domain/infra/abi/manifest.go
@@ -54,7 +54,7 @@ func (ir *ImageEngine) ManifestInspect(ctx context.Context, name string) ([]byte
}
return buf, nil
// no return if local image is not a list of images type
- // continue on getting valid manifest through remote serice
+ // continue on getting valid manifest through remote service
} else if errors.Cause(err) != buildahManifests.ErrManifestTypeNotSupported {
return nil, errors.Wrapf(err, "loading manifest %q", name)
}
diff --git a/pkg/specgen/generate/kube/volume.go b/pkg/specgen/generate/kube/volume.go
index 2ef0f4c23..bb8edabb7 100644
--- a/pkg/specgen/generate/kube/volume.go
+++ b/pkg/specgen/generate/kube/volume.go
@@ -103,7 +103,7 @@ func VolumeFromSource(volumeSource v1.VolumeSource) (*KubeVolume, error) {
} else if volumeSource.PersistentVolumeClaim != nil {
return VolumeFromPersistentVolumeClaim(volumeSource.PersistentVolumeClaim)
} else {
- return nil, errors.Errorf("HostPath and PersistentVolumeClaim are currently the conly supported VolumeSource")
+ return nil, errors.Errorf("HostPath and PersistentVolumeClaim are currently the only supported VolumeSource")
}
}