summaryrefslogtreecommitdiff
path: root/libpod/image
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-05-24 17:50:37 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-25 08:45:15 +0000
commit684b544e9c45129a3d8112cfab22526440d8fd13 (patch)
tree8aa092161773f0bb171b6e15cffd5d468a1b4b88 /libpod/image
parenta7180cd5459ca063c14a60965b4487f04c0af439 (diff)
downloadpodman-684b544e9c45129a3d8112cfab22526440d8fd13.tar.gz
podman-684b544e9c45129a3d8112cfab22526440d8fd13.tar.bz2
podman-684b544e9c45129a3d8112cfab22526440d8fd13.zip
Spell check strings and comments
Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #831 Approved by: rhatdan
Diffstat (limited to 'libpod/image')
-rw-r--r--libpod/image/filters.go2
-rw-r--r--libpod/image/utils.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpod/image/filters.go b/libpod/image/filters.go
index c1dd1e5cd..95ef3b44a 100644
--- a/libpod/image/filters.go
+++ b/libpod/image/filters.go
@@ -67,7 +67,7 @@ func OutputImageFilter(userImage *Image) ResultFilter {
}
}
-// FilterImages filters images using a set of predefined fitler funcs
+// FilterImages filters images using a set of predefined filter funcs
func FilterImages(images []*Image, filters []ResultFilter) []*Image {
var filteredImages []*Image
for _, image := range images {
diff --git a/libpod/image/utils.go b/libpod/image/utils.go
index c1b2aacde..5392b86f0 100644
--- a/libpod/image/utils.go
+++ b/libpod/image/utils.go
@@ -72,7 +72,7 @@ func getCopyOptions(reportWriter io.Writer, signaturePolicyPath string, srcDocke
}
}
-// getPolicyContext sets up, intializes and returns a new context for the specified policy
+// getPolicyContext sets up, initializes and returns a new context for the specified policy
func getPolicyContext(ctx *types.SystemContext) (*signature.PolicyContext, error) {
policy, err := signature.DefaultPolicy(ctx)
if err != nil {